diff options
author | bugreport%peshkin.net <> | 2004-08-05 01:17:09 +0200 |
---|---|---|
committer | bugreport%peshkin.net <> | 2004-08-05 01:17:09 +0200 |
commit | b54625a0ef75f691220cdb319ea2eea3ec27e04a (patch) | |
tree | 7f70ef296d34cb34c4d7b1017351253e7e1f8dc8 /long_list.cgi | |
parent | 50e28bb8a4d457bf63f477b44df06adb22a71b59 (diff) | |
download | bugzilla-b54625a0ef75f691220cdb319ea2eea3ec27e04a.tar.gz bugzilla-b54625a0ef75f691220cdb319ea2eea3ec27e04a.tar.xz |
Bug 186093: Move CanSeeBug to User.pm and make User.pm usable by templates
r=kiko
a=justdave
Diffstat (limited to 'long_list.cgi')
-rwxr-xr-x | long_list.cgi | 2 |
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; |