summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
Diffstat (limited to 'template')
-rw-r--r--template/en/default/attachment/list.html.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/template/en/default/attachment/list.html.tmpl b/template/en/default/attachment/list.html.tmpl
index b39530244..34f646985 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 %]
<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>