summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--template/en/default/bug/edit.html.tmpl19
1 files changed, 11 insertions, 8 deletions
diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl
index a2c13f2ea..e53e1caaf 100644
--- a/template/en/default/bug/edit.html.tmpl
+++ b/template/en/default/bug/edit.html.tmpl
@@ -486,7 +486,7 @@
</tr>
<tr>
<td colspan="7" align="right">
- <a href="summarize_time.cgi?id=[% bug.bug_id %]&do_depends=1">
+ <a href="summarize_time.cgi?id=[% bug.bug_id %]&amp;do_depends=1">
Summarize time (including time for [% terms.bugs %]
blocking this [% terms.bug %])</a>
</td>
@@ -497,13 +497,16 @@
[%# *** Custom Fields *** %]
[% USE Bugzilla %]
-<table>
- [% FOREACH field = Bugzilla.get_fields({ obsolete => 0, custom => 1 }) %]
- <tr>
- [% PROCESS bug/field.html.tmpl value=bug.${field.name} editable=1 %]
- </tr>
- [% END %]
-</table>
+[% fields = Bugzilla.get_fields({ obsolete => 0, custom => 1 }) %]
+[% IF fields %]
+ <table>
+ [% FOREACH field = fields %]
+ <tr>
+ [% PROCESS bug/field.html.tmpl value=bug.${field.name} editable=1 %]
+ </tr>
+ [% END %]
+ </table>
+[% END %]
[%# *** Attachments *** %]