From 0bcbc0faba0a0ed80eab653d3a696764686d202c Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Mon, 13 Apr 2015 19:09:04 +0200 Subject: Really use PROCESS instead of INCLUDE for custom fields, see bug 1137307 --- template/en/default/bug/edit.html.tmpl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'template/en/default/bug') diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl index f9b206892..c5cf88f04 100644 --- a/template/en/default/bug/edit.html.tmpl +++ b/template/en/default/bug/edit.html.tmpl @@ -982,7 +982,9 @@ [%# *** Custom Fields *** %] [% 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 %] -- cgit v1.2.3-24-g4f1b