aboutsummaryrefslogtreecommitdiffstats
path: root/long_list.cgi
diff options
context:
space:
mode:
authorbugreport%peshkin.net <>2002-09-23 00:14:48 +0000
committerbugreport%peshkin.net <>2002-09-23 00:14:48 +0000
commit65d3dc0ec33fd76229dc02536a74ccac5408876b (patch)
treebcacbb27e99c73f9548e92408fadb2e369f0543b /long_list.cgi
parentcf9b4ba2e757925eeb18bb63411ae30c8600c643 (diff)
downloadbugs-65d3dc0ec33fd76229dc02536a74ccac5408876b.tar
bugs-65d3dc0ec33fd76229dc02536a74ccac5408876b.tar.gz
bugs-65d3dc0ec33fd76229dc02536a74ccac5408876b.tar.bz2
bugs-65d3dc0ec33fd76229dc02536a74ccac5408876b.tar.xz
bugs-65d3dc0ec33fd76229dc02536a74ccac5408876b.zip
bug 157756 - Groups_20020716_Branch Tracking : > 55 groups now supported
r=bbaetz, gerv
Diffstat (limited to 'long_list.cgi')
-rwxr-xr-xlong_list.cgi6
1 files changed, 3 insertions, 3 deletions
diff --git a/long_list.cgi b/long_list.cgi
index 6acee0332..6df8a8bad 100755
--- a/long_list.cgi
+++ b/long_list.cgi
@@ -26,7 +26,7 @@ use lib qw(.);
require "CGI.pl";
-use vars qw($userid $usergroupset @legal_keywords %FORM);
+use vars qw($userid @legal_keywords %FORM);
# Use global template variables.
use vars qw($template $vars);
@@ -69,8 +69,8 @@ my @bugs;
foreach my $bug_id (split(/[:,]/, $buglist)) {
detaint_natural($bug_id) || next;
- SendSQL(SelectVisible("$generic_query AND bugs.bug_id = $bug_id",
- $::userid, $::usergroupset));
+ CanSeeBug($bug_id, $::userid) || next;
+ SendSQL("$generic_query AND bugs.bug_id = $bug_id");
my %bug;
my @row = FetchSQLData();