diff --git a/htdocs/fichinter/note.php b/htdocs/fichinter/note.php index 9cacd6205c7..01a8d82cf5a 100644 --- a/htdocs/fichinter/note.php +++ b/htdocs/fichinter/note.php @@ -58,7 +58,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/fourn/commande/note.php b/htdocs/fourn/commande/note.php index 66716581e03..b3e7d33e5d9 100644 --- a/htdocs/fourn/commande/note.php +++ b/htdocs/fourn/commande/note.php @@ -61,7 +61,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 }