diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt index e048b129ad..210b1a5f24 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt @@ -423,7 +423,7 @@ [% FOREACH EXCEPTION_HOLIDAYS_LOO IN EXCEPTION_HOLIDAYS_LOOP %] - [% EXCEPTION_HOLIDAYS_LOO.DATE %] + [% EXCEPTION_HOLIDAYS_LOO.DATE %] [% EXCEPTION_HOLIDAYS_LOO.TITLE %] [% EXCEPTION_HOLIDAYS_LOO.DESCRIPTION %] @@ -497,7 +497,7 @@ [% FOREACH HOLIDAYS_LOO IN HOLIDAYS_LOOP %] - [% HOLIDAYS_LOO.DATE %] + [% HOLIDAYS_LOO.DATE %] [% HOLIDAYS_LOO.TITLE %] [% HOLIDAYS_LOO.DESCRIPTION %] diff --git a/tools/holidays.pl b/tools/holidays.pl index b3912eb261..d5ace27647 100755 --- a/tools/holidays.pl +++ b/tools/holidays.pl @@ -138,18 +138,20 @@ foreach my $yearMonthDay (keys %$single_holidays) { push @holidays, \%holiday; } -$template->param(WEEK_DAYS_LOOP => \@week_days, - branchloop => \@branchloop, - HOLIDAYS_LOOP => \@holidays, - EXCEPTION_HOLIDAYS_LOOP => \@exception_holidays, - DAY_MONTH_HOLIDAYS_LOOP => \@day_month_holidays, - calendardate => $calendardate, - keydate => $keydate, - branchcodes => $branchcodes, - branch => $branch, - DHTMLcalendar_dateformat => C4::Dates->DHTMLcalendar(), - branchname => $branchname - ); +$template->param( + WEEK_DAYS_LOOP => \@week_days, + branchloop => \@branchloop, + HOLIDAYS_LOOP => \@holidays, + EXCEPTION_HOLIDAYS_LOOP => \@exception_holidays, + DAY_MONTH_HOLIDAYS_LOOP => \@day_month_holidays, + calendardate => $calendardate, + keydate => $keydate, + branchcodes => $branchcodes, + branch => $branch, + DHTMLcalendar_dateformat => C4::Dates->DHTMLcalendar(), + branchname => $branchname, + branch => $branch, +); # Shows the template with the real values replaced output_html_with_http_headers $input, $cookie, $template->output;