From 2eb10c40b2ea7709b145ee0384ff0cce0d118302 Mon Sep 17 00:00:00 2001 From: fr69400 <82267780+fr69400@users.noreply.github.com> Date: Sun, 11 Jul 2021 09:46:52 +0200 Subject: [PATCH] Update conferenceorboothattendee_note.php --- .../eventorganization/conferenceorboothattendee_note.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/htdocs/eventorganization/conferenceorboothattendee_note.php b/htdocs/eventorganization/conferenceorboothattendee_note.php index 99c01900184..4f0bb74a4e5 100644 --- a/htdocs/eventorganization/conferenceorboothattendee_note.php +++ b/htdocs/eventorganization/conferenceorboothattendee_note.php @@ -116,11 +116,12 @@ $permissiontoadd = $user->rights->eventorganization->conferenceorboothattendee-> */ $reshook = $hookmanager->executeHooks('doActions', array(), $object, $action); // Note that $action and $object may have been modified by some hooks -if ($reshook < 0) +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 +} /* * View