Skip to content

Commit fe5b2df

Browse files
committed
fix(issue): warning with GLPI 9.5
need to load the item from DB before display Signed-off-by: Thierry Bugier <[email protected]>
1 parent 20ca8e0 commit fe5b2df

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

front/issue.form.php

+4
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@
6060
Html::redirect($CFG_GLPI["root_doc"]."/front/helpdesk.public.php");
6161
}
6262

63+
$issue->getFromDBByCrit([
64+
'original_id' => (int) $_REQUEST['id'],
65+
'sub_itemtype' => $_REQUEST['sub_itemtype'],
66+
]);
6367
$issue->display($_REQUEST);
6468

6569
if (plugin_formcreator_replaceHelpdesk()) {

0 commit comments

Comments
 (0)