From 4591534f1362fc01e22db0599a9ae30137880d0d Mon Sep 17 00:00:00 2001 From: Thibaud Guillot Date: Tue, 28 Feb 2023 16:26:57 +0100 Subject: [PATCH] Bug 18064: (follow-up) Fix var type 'holidays_by_branch' --- misc/cronjobs/longoverdue.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/cronjobs/longoverdue.pl b/misc/cronjobs/longoverdue.pl index a317bc2c03..5d2c20f9a5 100755 --- a/misc/cronjobs/longoverdue.pl +++ b/misc/cronjobs/longoverdue.pl @@ -423,7 +423,7 @@ foreach my $startrange (sort keys %$lost) { my ($date2) = bounds( $endrange); if ( C4::Context->preference( 'LongOverdueNoticeCalendar' ) ) { - my $holidays_by_branch = get_number_of_holidays( $date2, $date1 ); + my @holidays_by_branch = get_number_of_holidays( $date2, $date1 ); foreach my $branch ( @holidays_by_branch ) { -- 2.25.1