]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Follow-up patch for bug 315590: fix scenario where we have private attachments, and...
authoruid623 <>
Wed, 7 Jun 2006 00:30:45 +0000 (00:30 +0000)
committeruid623 <>
Wed, 7 Jun 2006 00:30:45 +0000 (00:30 +0000)
template/en/default/attachment/list.html.tmpl

index b395302449ea275f3b40c19f522212d61b2d3907..34f646985a55da20f7cc2fa2bd89cbb343b4f618 100644 (file)
@@ -35,8 +35,8 @@
   [% canseeprivate = !Param("insidergroup") || UserInGroup(Param("insidergroup")) %]
   [% count = 0 %]
   [% FOREACH attachment = attachments %]
+    [% count = count + 1 %]
     [% IF !attachment.isprivate || canseeprivate %]
-      [% count = count + 1 %]
       <tr [% "class=\"bz_private\"" IF attachment.isprivate %]>
         <td valign="top">
           <a name="a[% count %]" href="attachment.cgi?id=[% attachment.id %]">[% attachment.description FILTER html FILTER obsolete(attachment.isobsolete) %]</a>