Skip to content

Commit

Permalink
fix(issue): show issue even when service catalog is disabled
Browse files Browse the repository at this point in the history
menu is redefined when service catalog is disabled, then need to show issues if requested
  • Loading branch information
btry committed Jan 26, 2022
1 parent 368450b commit 131bfe5
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions front/issue.form.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,6 @@
Html::redirect($itemtype::getFormURLWithID($id));
}

// Show issue only if service catalog is enabled
if (!plugin_formcreator_replaceHelpdesk()) {
Html::redirect($CFG_GLPI['root_doc']."/front/helpdesk.public.php");
}

/** @var PluginFormcreatorIssue $issue */
$issue = PluginFormcreatorIssue::getById((int) $_REQUEST['id']);

Expand Down

0 comments on commit 131bfe5

Please sign in to comment.