From 675650cca34a625b70f0f42f87a0c3651f02bce8 Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Mon, 20 Jan 2025 13:44:23 +0000 Subject: [PATCH] Bug 38669: (QA follow-up): Prevent multiple occurrences of 'op' in the form This may happen if getting to the ILL auto screen from the type disclaimer screen for example Which causes the 'return to request'm form submission to have 2 'op's, causing error. --- koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt index 21a19eea7f5..d0b8a428abf 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt @@ -861,7 +861,7 @@ [% INCLUDE 'csrf-token.inc' %] [% FOREACH key IN whole.keys %] [% value = whole.$key %] - [% IF key != 'method' && key != 'custom_key' && key != 'custom_value' %] + [% IF key != 'op' && key != 'method' && key != 'custom_key' && key != 'custom_value' %] [% END %] [% END %] -- 2.39.5