FIx php8.0 warnings

This commit is contained in:
lmarcouiller 2021-12-03 10:37:48 +01:00
parent 83ea868c9a
commit 093191aeeb

View File

@ -348,7 +348,7 @@ if ($moreforfilter) {
$varpage = empty($contextpage) ? $_SERVER['PHP_SELF'] : $contextpage;
$selectedfields = $form->multiSelectArrayWithCheckbox('selectedfields', $arrayfields, $varpage); // This also change content of $arrayfields
if ($massactionbutton) {
if (!empty($massactionbutton)) {
$selectedfields .= $form->showCheckAddButtons('checkforselect', 1);
}