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 <chrisc@catalyst.net.nz> Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
This commit is contained in:
parent
37f3807442
commit
f3ac37c8f4
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue