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 /CGI.pl | |
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 'CGI.pl')
-rw-r--r-- | CGI.pl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -172,7 +172,7 @@ sub ValidateBugID { return if $skip_authorization; - return if CanSeeBug($id, $::userid); + return if Bugzilla->user->can_see_bug($id); # The user did not pass any of the authorization tests, which means they # are not authorized to see the bug. Display an error and stop execution. |