From 02f8faeeac5d2edfc277c822c3f4132091c1b6ad Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 26 Jan 2020 22:32:37 +0100 Subject: [PATCH] Update massactions_pre.tpl.php --- htdocs/core/tpl/massactions_pre.tpl.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/htdocs/core/tpl/massactions_pre.tpl.php b/htdocs/core/tpl/massactions_pre.tpl.php index 6949c76680f..fcff59cb21a 100644 --- a/htdocs/core/tpl/massactions_pre.tpl.php +++ b/htdocs/core/tpl/massactions_pre.tpl.php @@ -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) {