From 90d86a9744883ccc120a0a955ffade72990e1505 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Thu, 14 Apr 2016 21:03:00 +0200 Subject: Bug 1088022 - Bump min version to CGI 4.09 r=dkl --- template/en/default/global/hidden-fields.html.tmpl | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'template/en/default/global/hidden-fields.html.tmpl') diff --git a/template/en/default/global/hidden-fields.html.tmpl b/template/en/default/global/hidden-fields.html.tmpl index 88d267354..f8f353233 100644 --- a/template/en/default/global/hidden-fields.html.tmpl +++ b/template/en/default/global/hidden-fields.html.tmpl @@ -16,12 +16,9 @@ [% cgi = Bugzilla.cgi %] [%# Generate hidden form fields for non-excluded fields. %] -[% FOREACH field = cgi.param() %] +[% FOREACH field = cgi.multi_param() %] [% NEXT IF exclude && field.search(exclude) %] - [%# The '.slice(0)' bit is here to force the 'param(field)' to be evaluated - in a list context, so we can avoid extra code checking for single valued or - empty fields %] - [% IF field == "data" && cgi.param("data") %] + [% IF field == "data" && cgi_param("data") %]

We were unable to store the file you uploaded because of incomplete information @@ -30,7 +27,7 @@ remaining missing information above.

- Please re-attach the file [% cgi.param(field) FILTER html %] in + Please re-attach the file [% cgi_param(field) FILTER html %] in the field below:

@@ -38,7 +35,7 @@

[% ELSE %] - [% FOREACH mvalue = cgi.param(field).slice(0) %] + [% FOREACH mvalue = cgi.multi_param(field) %] [% END %] -- cgit v1.2.3-24-g4f1b