summaryrefslogtreecommitdiffstats
path: root/duplicates.cgi
diff options
context:
space:
mode:
authorbugreport%peshkin.net <>2004-07-10 16:17:02 +0200
committerbugreport%peshkin.net <>2004-07-10 16:17:02 +0200
commit386cc09bdd56a413836a4e74579f60772bbf0e80 (patch)
treeb9715c3a56a77a9b31a89eacad3139ae15284b9a /duplicates.cgi
parenta987df219a7aa54ae2429488f9f5655402463dc5 (diff)
downloadbugzilla-386cc09bdd56a413836a4e74579f60772bbf0e80.tar.gz
bugzilla-386cc09bdd56a413836a4e74579f60772bbf0e80.tar.xz
Bug 234825: Keep duplicates.cgi from revealing products user doesnt have access to
r,a=justdave
Diffstat (limited to 'duplicates.cgi')
-rwxr-xr-xduplicates.cgi3
1 files changed, 2 insertions, 1 deletions
diff --git a/duplicates.cgi b/duplicates.cgi
index b45bd2710..744ad8147 100755
--- a/duplicates.cgi
+++ b/duplicates.cgi
@@ -266,7 +266,8 @@ $vars->{'openonly'} = $openonly;
$vars->{'reverse'} = $reverse;
$vars->{'format'} = $cgi->param('format');
$vars->{'query_products'} = \@query_products;
-$vars->{'products'} = \@::legal_product;
+my @selectable_products = GetSelectableProducts();
+$vars->{'products'} = \@selectable_products;
my $format = GetFormat("reports/duplicates", scalar($cgi->param('format')),