Bugzilla – Attachment 11624 Details for
Bug 8418
Koha::Calendar is_holiday ignores all user data
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8418: load repeating holidays hash correctly
Bug-8418-load-repeating-holidays-hash-correctly.patch (text/plain), 984 bytes, created by
Chris Cormack
on 2012-08-14 23:27:10 UTC
(
hide
)
Description:
Bug 8418: load repeating holidays hash correctly
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2012-08-14 23:27:10 UTC
Size:
984 bytes
patch
obsolete
>From 91a678ff8998c0297c6a7f66dde4155c3b2ba796 Mon Sep 17 00:00:00 2001 >From: Colin Campbell <colin.campbell@ptfs-europe.com> >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 <chrisc@catalyst.net.nz> >--- > Koha/Calendar.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/Koha/Calendar.pm b/Koha/Calendar.pm >index 298cdb2..7214f39 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; > } > my $special = $dbh->prepare( >-- >1.7.9.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 8418
:
10769
|
10770
|
10773
|
10774
|
10810
|
10811
|
10838
|
10839
|
10840
|
11025
|
11026
|
11611
| 11624