From 3f1fa1918ebf0eba3f57ff6d5958f810ee1c1735 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 15 Mar 2024 14:56:26 +0100 Subject: [PATCH] Bug 36332: Add missing semicolon in moremember.tt It's fixing a JS error Uncaught ReferenceError: script is not defined Signed-off-by: Katrin Fischer (cherry picked from commit 23b05e812aa40ba452a951002d036b2d6c67441d) Signed-off-by: Fridolin Somers (cherry picked from commit 5710afb1cd91ac67791df438833f155f84c2d767) Signed-off-by: Lucas Gass --- koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt index ba6ba163fd..41d04d19f4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt @@ -688,7 +688,7 @@ var borrowernumber = "[% patron.borrowernumber | html %]"; var branchcode = "[% Branches.GetLoggedInBranchcode() | html %]"; var exports_enabled = "[% Koha.Preference('ExportCircHistory') | html %]"; - var AllowCirculate = [% (CAN_user_circulate_circulate_remaining_permissions)? 1 : 0 | html %] + var AllowCirculate = [% (CAN_user_circulate_circulate_remaining_permissions)? 1 : 0 | html %]; var AllowRenewalLimitOverride = [% (CAN_user_circulate_override_renewals && Koha.Preference('AllowRenewalLimitOverride') )? 1: 0 | html %]; var AllowRenewalOnHoldOverride = [% (CAN_user_circulate_override_renewals && Koha.Preference('AllowRenewalOnHoldOverride') )? 1: 0 | html %]; var script = "moremember"; -- 2.39.5