Update massactions_pre.tpl.php

This commit is contained in:
Laurent Destailleur 2020-01-26 22:32:37 +01:00 committed by GitHub
parent cfa67b6a5d
commit 02f8faeeac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -167,8 +167,10 @@ if ($massaction == 'presend')
dol_fiche_end();
}
// Allow Pre-Mass-Action hook (eg for confirmation dialog)
$parameters['toselect']=$toselect;
$parameters['uploaddir']=$uploaddir;
$parameters = array(
'toselect' => $toselect,
'uploaddir' => $uploaddir
);
$reshook=$hookmanager->executeHooks('doPreMassActions', $parameters, $object, $action);
if ($reshook < 0) {