Update note.php

This commit is contained in:
fr69400
2021-07-11 09:53:38 +02:00
committed by GitHub
parent b227a85d31
commit f3ebbbbbc0

View File

@@ -93,11 +93,12 @@ if ($origin == 'reception') {
*/
$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
}
/*