diff --git a/htdocs/supplier_proposal/note.php b/htdocs/supplier_proposal/note.php index ce13a4f078a..c4ab85e8e20 100644 --- a/htdocs/supplier_proposal/note.php +++ b/htdocs/supplier_proposal/note.php @@ -64,7 +64,7 @@ $reshook = $hookmanager->executeHooks('doActions', array(), $object, $action); / if ($reshook < 0) { setEventMessages($hookmanager->error, $hookmanager->errors, 'errors'); } -if (empty($reshook)){ +if (empty($reshook)) { include DOL_DOCUMENT_ROOT.'/core/actions_setnotes.inc.php'; // Must be include, not include_once } diff --git a/htdocs/workstation/workstation_note.php b/htdocs/workstation/workstation_note.php index cd5a75ce896..7e1b765bf82 100755 --- a/htdocs/workstation/workstation_note.php +++ b/htdocs/workstation/workstation_note.php @@ -72,7 +72,7 @@ $reshook = $hookmanager->executeHooks('doActions', array(), $object, $action); / if ($reshook < 0) { setEventMessages($hookmanager->error, $hookmanager->errors, 'errors'); } -if (empty($reshook)){ +if (empty($reshook)) { include DOL_DOCUMENT_ROOT.'/core/actions_setnotes.inc.php'; // Must be include, not include_once }