Fix: missing empty $object

This commit is contained in:
Regis Houssin 2017-09-15 11:12:56 +02:00
parent b9e0879847
commit a213a5d5fd

View File

@ -46,7 +46,7 @@ $hookmanager->initHooks(array('adminldap','globaladmin'));
*/
$parameters=array();
$reshook=$hookmanager->executeHooks('doActions',$parameters,'',$action); // Note that $action and $object may have been modified by some hooks
$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');
if (empty($reshook))