From: uid623 <> Date: Wed, 7 Jun 2006 00:30:45 +0000 (+0000) Subject: Follow-up patch for bug 315590: fix scenario where we have private attachments, and... X-Git-Tag: bugzilla-2.23.2~128 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df309377a5aa1aaded87e63424c9025c4fe2d7be;p=thirdparty%2Fbugzilla.git Follow-up patch for bug 315590: fix scenario where we have private attachments, and make the numbering behaviour consistent with the way we currently treat private bug comments; patch by Vlad Dascalu , r=timeless; a=myk on the bug. --- diff --git a/template/en/default/attachment/list.html.tmpl b/template/en/default/attachment/list.html.tmpl index b395302449..34f646985a 100644 --- a/template/en/default/attachment/list.html.tmpl +++ b/template/en/default/attachment/list.html.tmpl @@ -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 %] [% attachment.description FILTER html FILTER obsolete(attachment.isobsolete) %]