Skip to content

Commit

Permalink
Merge pull request #11314 from atm-maxime/fix_missing_hookparam
Browse files Browse the repository at this point in the history
Fix missing massaction hook params
  • Loading branch information
eldy committed Jun 12, 2019
2 parents 91a5547 + 0ce2c2a commit 8f612bc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion htdocs/core/actions_massactions.inc.php
Expand Up @@ -1269,9 +1269,10 @@

$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');



0 comments on commit 8f612bc

Please sign in to comment.