An error occurred while fetching merge requests data.
Commit 74d7fca1 authored by Frédéric Buclin's avatar Frédéric Buclin

Really use PROCESS instead of INCLUDE for custom fields, see bug 1137307

parent 4cbac025
...@@ -982,7 +982,9 @@ ...@@ -982,7 +982,9 @@
[% USE Bugzilla %] [% USE Bugzilla %]
[% FOREACH field = Bugzilla.active_custom_fields %] [% FOREACH field = Bugzilla.active_custom_fields %]
<tr> <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) %] editable = bug.check_can_change_field(field.name, 0, 1) %]
</tr> </tr>
[% IF extra_field_item %] [% IF extra_field_item %]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment