aboutsummaryrefslogtreecommitdiffstats
path: root/template/en/default/bug
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2015-04-13 19:14:05 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2015-04-13 19:14:05 +0200
commit74d7fca1e9da140388403de8b2e555291d863a96 (patch)
tree3649fb18b4032ed4afe01e2ab55bad3e165abe96 /template/en/default/bug
parent4cbac025fc6e94b1d37edcea7cf1b041827b6446 (diff)
downloadbugs-74d7fca1e9da140388403de8b2e555291d863a96.tar
bugs-74d7fca1e9da140388403de8b2e555291d863a96.tar.gz
bugs-74d7fca1e9da140388403de8b2e555291d863a96.tar.bz2
bugs-74d7fca1e9da140388403de8b2e555291d863a96.tar.xz
bugs-74d7fca1e9da140388403de8b2e555291d863a96.zip
Really use PROCESS instead of INCLUDE for custom fields, see bug 1137307
Diffstat (limited to 'template/en/default/bug')
-rw-r--r--template/en/default/bug/edit.html.tmpl4
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 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 %]
<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 %]