]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Patch for bug 266955: Only display interdiff options if we have other_patches; patch...
authorjocuri%softhome.net <>
Fri, 5 Nov 2004 07:16:59 +0000 (07:16 +0000)
committerjocuri%softhome.net <>
Fri, 5 Nov 2004 07:16:59 +0000 (07:16 +0000)
template/en/default/attachment/diff-header.html.tmpl

index e3ca1ac416ee8ed2aec4b492adc4c173ac91f4f9..f6fb807a86d7ce0f193eadc939cdd17095ba8f85 100644 (file)
@@ -246,7 +246,7 @@ tbody.file pre:empty {
     | <a href="[% PROCESS editurl id=attachid %]">Edit</a>
     | <a href="[% PROCESS diffurl id=attachid %]&amp;context=[% context FILTER html %]&amp;collapsed=[% collapsed FILTER html %]&amp;headers=[% headers FILTER html %]&amp;format=raw">Raw&nbsp;Unified</a>
   [% END %]
-  [% IF other_patches %]
+  [% IF other_patches.size > 0 %]
     [% IF headers %] |[%END%]
     Differences between
     <form style="display: inline" action="">