aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbugreport%peshkin.net <>2004-08-04 23:17:09 +0000
committerbugreport%peshkin.net <>2004-08-04 23:17:09 +0000
commitb54625a0ef75f691220cdb319ea2eea3ec27e04a (patch)
tree7f70ef296d34cb34c4d7b1017351253e7e1f8dc8 /votes.cgi
parentPatch for bug 253604: When commit a bug, validate timetracking before user ma... (diff)
downloadbugzilla-b54625a0ef75f691220cdb319ea2eea3ec27e04a.tar.gz
bugzilla-b54625a0ef75f691220cdb319ea2eea3ec27e04a.tar.bz2
bugzilla-b54625a0ef75f691220cdb319ea2eea3ec27e04a.zip
Bug 186093: Move CanSeeBug to User.pm and make User.pm usable by templates
r=kiko a=justdave
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,