]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 348871: modify show_bug in order to pass HTML validation - Patch by victory(_RSZ_...
authorvladd%bugzilla.org <>
Fri, 18 Aug 2006 03:24:04 +0000 (03:24 +0000)
committervladd%bugzilla.org <>
Fri, 18 Aug 2006 03:24:04 +0000 (03:24 +0000)
template/en/default/bug/edit.html.tmpl

index a2c13f2ea22bf1d5b5ded7f2e8cbcbb404e677d9..e53e1caafa8945b3de65c30d0089801526037ed4 100644 (file)
       </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>
 [%# *** 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 *** %]