From a8752bf097800258d625e23b884a95b7524a5558 Mon Sep 17 00:00:00 2001 From: stickler-ci Date: Sun, 11 Jul 2021 07:46:34 +0000 Subject: [PATCH] Fixing style errors. --- htdocs/commande/note.php | 2 +- htdocs/compta/facture/note.php | 2 +- htdocs/contact/note.php | 2 +- htdocs/contrat/note.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) 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 }