FIX: holiday counter massaction: ErrorBadValueForParamNotAString and PHP 8 warning when no approval user right

This commit is contained in:
Marc de Lima Lucio 2023-03-08 10:21:19 +01:00
parent 16257a0e74
commit 3fbb744d55

View File

@ -363,6 +363,7 @@ if (count($typeleaves) == 0) {
print_liste_field_titre((empty($user->rights->holiday->define_holiday) ? '' : 'Note'), $_SERVER["PHP_SELF"]);
print_liste_field_titre('');
$selectedfields = '';
if ($massactionbutton) {
$selectedfields = $form->showCheckAddButtons('checkforselect', 1);
}