@@ -, +, @@ --- misc/cronjobs/longoverdue.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/misc/cronjobs/longoverdue.pl +++ a/misc/cronjobs/longoverdue.pl @@ -325,7 +325,7 @@ sub get_number_of_holidays { $start_date = dt_from_string($start_date); $end_date = dt_from_string($end_date); - my @branches = Koha::Libraries->search( {}, { order_by => ['branchcode'] } ); + my @branches = Koha::Libraries->search( {}, { order_by => ['branchcode'] } )->as_list; my $calendar; foreach my $branch ( @branches ) { --