2
0
forked from Wavyzz/dolibarr

Debug v18

This commit is contained in:
Laurent Destailleur
2023-06-03 15:33:46 +02:00
parent f5e9a79253
commit ebfe632efe
27 changed files with 64 additions and 39 deletions

View File

@@ -68,7 +68,8 @@ if (!$object->fetch($id, $ref) > 0) {
* Actions
*/
$reshook = $hookmanager->executeHooks('doActions', array(), $object, $action); // Note that $action and $object may have been modified by some hooks
$parameters = array();
$reshook = $hookmanager->executeHooks('doActions', $parameters, $object, $action); // Note that $action and $object may have been modified by some hooks
if ($reshook < 0) {
setEventMessages($hookmanager->error, $hookmanager->errors, 'errors');
}