summaryrefslogtreecommitdiffstats
path: root/long_list.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'long_list.cgi')
-rwxr-xr-xlong_list.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/long_list.cgi b/long_list.cgi
index 5644a5323..757d00239 100755
--- a/long_list.cgi
+++ b/long_list.cgi
@@ -75,7 +75,7 @@ my @bugs;
foreach my $bug_id (split(/[:,]/, $buglist)) {
detaint_natural($bug_id) || next;
- CanSeeBug($bug_id, $::userid) || next;
+ Bugzilla->user->can_see_bug($bug_id) || next;
SendSQL("$generic_query AND bugs.bug_id = $bug_id");
my %bug;