diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2015-04-13 19:09:04 +0200 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2015-04-13 19:09:04 +0200 |
commit | 0bcbc0faba0a0ed80eab653d3a696764686d202c (patch) | |
tree | c131cc8e474fc29379af02ef152fb71d5a57336d | |
parent | d82782d4075bdcdbd94319c9ce525249e9b06113 (diff) | |
download | bugzilla-0bcbc0faba0a0ed80eab653d3a696764686d202c.tar.gz bugzilla-0bcbc0faba0a0ed80eab653d3a696764686d202c.tar.xz |
Really use PROCESS instead of INCLUDE for custom fields, see bug 1137307
-rw-r--r-- | template/en/default/bug/edit.html.tmpl | 4 |
1 files changed, 3 insertions, 1 deletions
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 %] <tr> - [% 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) %] </tr> [% IF extra_field_item %] |