2
0
forked from Wavyzz/dolibarr

Update mo_note.php

This commit is contained in:
fr69400
2021-07-11 09:52:46 +02:00
committed by GitHub
parent 21e5d067e2
commit eb6284e152

View File

@@ -70,11 +70,12 @@ $permissionnote = $user->rights->mrp->write; // Used by the include of actions_s
$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
}
/*