diff --git a/htdocs/commande/note.php b/htdocs/commande/note.php index e5c98da9765..dbfb0bdd43c 100644 --- a/htdocs/commande/note.php +++ b/htdocs/commande/note.php @@ -69,7 +69,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/compta/facture/note.php b/htdocs/compta/facture/note.php index adc6182dd61..efb0e23a27a 100644 --- a/htdocs/compta/facture/note.php +++ b/htdocs/compta/facture/note.php @@ -67,7 +67,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/contact/note.php b/htdocs/contact/note.php index a3dbc28554d..1cb76b5336e 100644 --- a/htdocs/contact/note.php +++ b/htdocs/contact/note.php @@ -60,7 +60,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/contrat/note.php b/htdocs/contrat/note.php index 8b08123a3f4..46a710a754d 100644 --- a/htdocs/contrat/note.php +++ b/htdocs/contrat/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 }