projects
/
koha_gimpoz
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
0a2b326
)
Bug 5549 : Calendar needed a change array_ref to hash_ref
author
Colin Campbell
<colin.campbell@ptfs-europe.com>
Thu, 23 Jun 2011 08:39:38 +0000
(09:39 +0100)
committer
Chris Cormack
<chrisc@catalyst.net.nz>
Tue, 20 Mar 2012 00:23:44 +0000
(13:23 +1300)
Koha/Calendar.pm
patch
|
blob
|
history
diff --git
a/Koha/Calendar.pm
b/Koha/Calendar.pm
index
91f8328
..
bdd4b8f
100644
(file)
--- a/
Koha/Calendar.pm
+++ b/
Koha/Calendar.pm
@@
-43,7
+43,7
@@
sub _init {
$self->{weekly_closed_days}->[ $tuple->{weekday} ] = 1;
}
$repeat_sth->execute( $branch, 1 );
- $self->{day_month_closed_days} =
[]
;
+ $self->{day_month_closed_days} =
{}
;
while ( my $tuple = $repeat_sth->fetchrow_hashref ) {
$self->{day_month_closed_days}->{ $tuple->{day} }->{ $tuple->{month} } =
1;