From: Frédéric Buclin Date: Mon, 13 Apr 2015 17:14:05 +0000 (+0200) Subject: Really use PROCESS instead of INCLUDE for custom fields, see bug 1137307 X-Git-Tag: bugzilla-5.0rc3~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74d7fca1e9da140388403de8b2e555291d863a96;p=thirdparty%2Fbugzilla.git Really use PROCESS instead of INCLUDE for custom fields, see bug 1137307 --- diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl index 8499ce5020..90151161eb 100644 --- a/template/en/default/bug/edit.html.tmpl +++ b/template/en/default/bug/edit.html.tmpl @@ -982,7 +982,9 @@ [% USE Bugzilla %] [% FOREACH field = Bugzilla.active_custom_fields %] - [% INCLUDE bug/field.html.tmpl value = bug.${field.name} + [%# Use PROCESS instead of INCLUDE, because extra_field_item is defined + # in the template and must be returned back. INCLUDE cannot do that. %] + [% PROCESS bug/field.html.tmpl value = bug.${field.name} editable = bug.check_can_change_field(field.name, 0, 1) %] [% IF extra_field_item %]