summaryrefslogtreecommitdiff
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 /duplicates.cgi
parentFix for bug 63601: Recommend filename when downloading attachments (except in... (diff)
downloadbugzilla-65d3dc0ec33fd76229dc02536a74ccac5408876b.tar.gz
bugzilla-65d3dc0ec33fd76229dc02536a74ccac5408876b.tar.bz2
bugzilla-65d3dc0ec33fd76229dc02536a74ccac5408876b.zip
bug 157756 - Groups_20020716_Branch Tracking : > 55 groups now supported
r=bbaetz, gerv
Diffstat (limited to 'duplicates.cgi')
-rwxr-xr-xduplicates.cgi7
1 files changed, 3 insertions, 4 deletions
diff --git a/duplicates.cgi b/duplicates.cgi
index 3eeab3fb5..0e27f077e 100755
--- a/duplicates.cgi
+++ b/duplicates.cgi
@@ -40,7 +40,7 @@ GetVersionTable();
quietly_check_login();
-use vars qw (%FORM $userid $usergroupset @legal_product);
+use vars qw (%FORM $userid @legal_product);
my %dbmcount;
my %count;
@@ -160,9 +160,7 @@ if (scalar(%count)) {
# Limit to a single product if requested
$query .= (" AND bugs.product_id = " . $product_id) if $product_id;
- SendSQL(SelectVisible($query,
- $userid,
- $usergroupset));
+ SendSQL($query);
while (MoreSQLData()) {
# Note: maximum row count is dealt with in the template.
@@ -170,6 +168,7 @@ if (scalar(%count)) {
my ($id, $component, $bug_severity, $op_sys, $target_milestone,
$short_desc, $bug_status, $resolution) = FetchSQLData();
+ next if (!CanSeeBug($id, $::userid));
# Limit to open bugs only if requested
next if $openonly && ($resolution ne "");