Merge pull request #24156 from marc-dll/17.0_FIX_holiday_counters_massaction

FIX: holiday counter massaction: ErrorBadValueForParamNotAString when no approval user right
This commit is contained in:
Laurent Destailleur 2023-03-10 19:06:31 +01:00 committed by GitHub
commit 485c08d007
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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);
}