summaryrefslogtreecommitdiffstats
path: root/template/en/default/bug/show.xml.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/bug/show.xml.tmpl')
-rw-r--r--template/en/default/bug/show.xml.tmpl8
1 files changed, 7 insertions, 1 deletions
diff --git a/template/en/default/bug/show.xml.tmpl b/template/en/default/bug/show.xml.tmpl
index 2349602..8034212 100644
--- a/template/en/default/bug/show.xml.tmpl
+++ b/template/en/default/bug/show.xml.tmpl
@@ -121,7 +121,13 @@
</bugzilla>
[% BLOCK bug_field %]
- [% FOREACH val = bug.$field %]
+ [% field_values = bug.$field %]
+ [%# Work around TT bug https://rt.cpan.org/Public/Bug/Display.html?id=9802 %]
+ [% IF bug.$field.size == 1 %]
+ [% field_values = [bug.$field.first] %]
+ [% END %]
+
+ [% FOREACH val = field_values %]
[%# We need to handle some fields differently. This should become
# nicer once we have custfields, and a type attribute for the fields
#%]