From f1fbab9fff49f1fec605adbc46ebce2ee26ae016 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 18 Jul 2022 15:13:17 +0200 Subject: [PATCH] Bug 30718: Fix holidays Template process failed: undef error - The given date (07/18/2022) does not match the date format (iso) --- koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 f055fcbf089..a187980c434 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt @@ -485,7 +485,7 @@ function changeBranch () { var branch = $("#branch option:selected").val(); - location.href='/cgi-bin/koha/tools/holidays.pl?branch=' + branch + '&calendardate=' + "[% calendardate | $KohaDates %]"; + location.href='/cgi-bin/koha/tools/holidays.pl?branch=' + branch + '&calendardate=' + "[% calendardate | html %]"; } /** -- 2.25.1