From 60d50005378caedfcbc04ec7d770281d94e954a1 Mon Sep 17 00:00:00 2001 From: uid623 Date: Tue, 6 Jun 2006 17:30:45 +0000 Subject: [PATCH] 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. --- webtools/bugzilla/template/en/default/attachment/list.html.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webtools/bugzilla/template/en/default/attachment/list.html.tmpl b/webtools/bugzilla/template/en/default/attachment/list.html.tmpl index b395302449ea..34f646985a55 100644 --- a/webtools/bugzilla/template/en/default/attachment/list.html.tmpl +++ b/webtools/bugzilla/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) %]