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 %]