From d19196f670c43f79f5bc8c87aede15ab3c0f1bf8 Mon Sep 17 00:00:00 2001 From: Colin Campbell Date: Tue, 14 Aug 2012 15:38:05 +0100 Subject: [PATCH] Bug 8418: load repeating holidays hash correctly The repeating holidays structure was being loaded in a different order to how it was tested Signed-off-by: Chris Cormack Signed-off-by: Paul Poulain Signed-off-by: Chris Cormack --- Koha/Calendar.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Koha/Calendar.pm b/Koha/Calendar.pm index 7608dceff4..2a2e062e3e 100644 --- a/Koha/Calendar.pm +++ b/Koha/Calendar.pm @@ -45,7 +45,7 @@ sub _init { $repeat_sth->execute( $branch, 1 ); $self->{day_month_closed_days} = {}; while ( my $tuple = $repeat_sth->fetchrow_hashref ) { - $self->{day_month_closed_days}->{ $tuple->{day} }->{ $tuple->{month} } = + $self->{day_month_closed_days}->{ $tuple->{month} }->{ $tuple->{day} } = 1; } -- 2.39.5