Bugzilla – Attachment 10810 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 - Koha::Calendar is_holiday ignores repeating holidays
Bug-8418---KohaCalendar-isholiday-ignores-repeatin.patch (text/plain), 995 bytes, created by
Chris Cormack
on 2012-07-13 09:25:02 UTC
(
hide
)
Description:
Bug 8418 - Koha::Calendar is_holiday ignores repeating holidays
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2012-07-13 09:25:02 UTC
Size:
995 bytes
patch
obsolete
>From a92787ab3642ed38bf8056e79421a429ad3a0094 Mon Sep 17 00:00:00 2001 >From: Dobrica Pavlinusic <dpavlin@rot13.org> >Date: Wed, 11 Jul 2012 14:32:35 +0200 >Subject: [PATCH] Bug 8418 - Koha::Calendar is_holiday ignores repeating > holidays > >This is simple fix since day_month_closed_days hash has wrong arguments order. > >Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> > >http://bugs.koha-community.org/show_bug.cgi?id=8414 >--- > Koha/Calendar.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/Koha/Calendar.pm b/Koha/Calendar.pm >index dc132cd..ab01e53 100644 >--- a/Koha/Calendar.pm >+++ b/Koha/Calendar.pm >@@ -150,7 +150,7 @@ sub is_holiday { > $dt->truncate( to => 'days' ); > my $day = $dt->day; > my $month = $dt->month; >- if ( exists $self->{day_month_closed_days}->{$month}->{$day} ) { >+ if ( exists $self->{day_month_closed_days}->{$day}->{$month} ) { > return 1; > } > if ( $self->{exception_holidays}->contains($dt) ) { >-- >1.7.10.4
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