Bugzilla – Attachment 100994 Details for
Bug 4985
Copy a change on the calendar to all libraries
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 4985: Add missing parameters
0001-Bug-4985-Add-missing-parameters.patch (text/plain), 1.70 KB, created by
Emmi Takkinen
on 2020-03-19 07:26:45 UTC
(
hide
)
Description:
Bug 4985: Add missing parameters
Filename:
MIME Type:
Creator:
Emmi Takkinen
Created:
2020-03-19 07:26:45 UTC
Size:
1.70 KB
patch
obsolete
>From 23ddd33152f5f563909005fdb6e40b5d3e6f9321 Mon Sep 17 00:00:00 2001 >From: Emmi Takkinen <emmi.takkinen@outlook.com> >Date: Thu, 19 Mar 2020 09:12:19 +0200 >Subject: [PATCH] Bug 4985: Add missing parameters > >Subroutine edit_holiday was missing parameter. > >Sponsored-by: Koha-Suomi Oy >--- > tools/exceptionHolidays.pl | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/tools/exceptionHolidays.pl b/tools/exceptionHolidays.pl >index 2c1d24f18b..7bde06bdf9 100755 >--- a/tools/exceptionHolidays.pl >+++ b/tools/exceptionHolidays.pl >@@ -52,16 +52,16 @@ if ($datecancelrange_dt){ > if($allbranches) { > my $libraries = Koha::Libraries->search; > while ( my $library = $libraries->next ) { >- edit_holiday($showoperation, $library->branchcode, $weekday, $day, $month, $year, $title, $description, $holidaytype); >+ edit_holiday($showoperation, $library->branchcode, $weekday, $day, $month, $year, $title, $description, $holidaytype, \@holiday_list); > } > } else { >- edit_holiday($showoperation, $branchcode, $weekday, $day, $month, $year, $title, $description, $holidaytype); >+ edit_holiday($showoperation, $branchcode, $weekday, $day, $month, $year, $title, $description, $holidaytype, \@holiday_list); > } > > print $input->redirect("/cgi-bin/koha/tools/holidays.pl?branch=$originalbranchcode&calendardate=$calendardate"); > > sub edit_holiday { >- ($showoperation, $branchcode, $weekday, $day, $month, $year, $title, $description, $holidaytype) = @_; >+ ($showoperation, $branchcode, $weekday, $day, $month, $year, $title, $description, $holidaytype, @holiday_list) = @_; > my $calendar = C4::Calendar->new(branchcode => $branchcode); > > if ($showoperation eq 'exception') { >-- >2.17.1 >
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 4985
:
98556
|
98565
|
98620
|
100880
|
100994
|
104664
|
104949
|
104950
|
106129
|
106130