summaryrefslogtreecommitdiffstats
path: root/votes.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'votes.cgi')
-rwxr-xr-xvotes.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/votes.cgi b/votes.cgi
index 8bd007d60..f2590b324 100755
--- a/votes.cgi
+++ b/votes.cgi
@@ -185,7 +185,7 @@ sub show_user {
# and they can see there are votes 'missing', but not on what bug
# they are. This seems a reasonable compromise; the alternative is
# to lie in the totals.
- next if !CanSeeBug($id, $userid);
+ next if !Bugzilla->user->can_see_bug($id);
push (@bugs, { id => $id,
summary => $summary,