Merge pull request #18238 from ptibogxiv/patch-436

Fix for php8
This commit is contained in:
Laurent Destailleur 2021-07-28 17:29:54 +02:00 committed by GitHub
commit 0476b36c6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -197,7 +197,7 @@ if ($massaction == 'presend') {
// Allow Pre-Mass-Action hook (eg for confirmation dialog)
$parameters = array(
'toselect' => $toselect,
'uploaddir' => $uploaddir
'uploaddir' => isset($uploaddir) ? $uploaddir : null
);
$reshook = $hookmanager->executeHooks('doPreMassActions', $parameters, $object, $action);