From 4197bfeac66412099e3114e3a9cb7cc0316707b6 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