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. Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
ff4bdb1ef5
commit
346bef792e
|
|
@ -866,7 +866,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' %]
|
||||
<input type="hidden" name="[% key | html %]" value="[% value | html %]" />
|
||||
[% END %]
|
||||
[% END %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue