From 9bef8f8738492564af7da78cba841366c70ada3c Mon Sep 17 00:00:00 2001 From: Aleisha Date: Tue, 9 Jun 2015 02:02:55 +0000 Subject: [PATCH] Bug 14360: Unescaped variable causes alert pop-up To test: 1) Create a list in the OPAC, name it: 2) Delete the list 3) Confirm deletion 4) See the alert say 'Hello' 5) Apply patch 6) Recreate list with same name 7) Delete list 8) Confirm deletion and alert no longer pops up Signed-off-by: Katrin Fischer Signed-off-by: Kyle M Hall Signed-off-by: Tomas Cohen Arazi --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt index e6b4ab53d3..eb2c143a81 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt @@ -130,10 +130,10 @@
A record matching barcode [% paramsloo.duplicatebiblio %] has already been added.
[% END %] [% IF ( paramsloo.delete_ok ) %] -
List [% paramsloo.delete_ok %] Deleted.
+
List [% paramsloo.delete_ok |html %] Deleted.
[% END %] [% IF ( paramsloo.delete_fail ) %] -
ERROR: Database error. Delete (list number [% paramsloo.delete_fail %]) failed.
+
ERROR: Database error. Delete (list number [% paramsloo.delete_fail |html %]) failed.
[% END %] [% IF ( paramsloo.unrecognized ) %]
ERROR: List number [% paramsloo.unrecognized %] unrecognized.
-- 2.39.5