summaryrefslogtreecommitdiffstats
path: root/template/en/default/global/hidden-fields.html.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/global/hidden-fields.html.tmpl')
-rw-r--r--template/en/default/global/hidden-fields.html.tmpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/template/en/default/global/hidden-fields.html.tmpl b/template/en/default/global/hidden-fields.html.tmpl
index a824c3489..b15232a8d 100644
--- a/template/en/default/global/hidden-fields.html.tmpl
+++ b/template/en/default/global/hidden-fields.html.tmpl
@@ -26,17 +26,17 @@
# exclude: string; a regular expression matching fields to exclude
# from the list of hidden fields generated by this template
#%]
-
+
[%# Generate hidden form fields for non-excluded fields. %]
[% FOREACH field = form %]
[% NEXT IF exclude && field.key.search(exclude) %]
[% IF mform.${field.key}.size > 1 %]
[% FOREACH mvalue = mform.${field.key} %]
<input type="hidden" name="[% field.key FILTER html %]"
- value="[% mvalue | html | html_linebreak %]">
+ value="[% mvalue FILTER html FILTER html_linebreak %]">
[% END %]
[% ELSE %]
<input type="hidden" name="[% field.key FILTER html %]"
- value="[% field.value | html | html_linebreak %]">
+ value="[% field.value FILTER html FILTER html_linebreak %]">
[% END %]
[% END %]