From 74d7fca1e9da140388403de8b2e555291d863a96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Buclin?= Date: Mon, 13 Apr 2015 19:14:05 +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 8499ce502..90151161e 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 %] -- cgit v1.2.1