mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-08 00:52:01 +01:00
Fix missing massaction hook params
This commit is contained in:
@@ -1269,9 +1269,10 @@ if (! $error && $massaction == 'generate_doc' && $permtoread)
|
||||
|
||||
$parameters['toselect']=$toselect;
|
||||
$parameters['uploaddir']=$uploaddir;
|
||||
$parameters['massaction']=$massaction;
|
||||
$parameters['diroutputmassaction']=$diroutputmassaction;
|
||||
|
||||
$reshook=$hookmanager->executeHooks('doMassActions',$parameters, $object, $action); // Note that $action and $object may have been modified by some hooks
|
||||
if ($reshook < 0) setEventMessages($hookmanager->error, $hookmanager->errors, 'errors');
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user