From 18bc9a8bdb8aaf33b911225f2efd852bc4aa72e6 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 51a973b93c4..20612bec8cb 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