From 0dad4ccd5c3149ae3b961e83435372c58e6972e8 Mon Sep 17 00:00:00 2001 From: "bugreport%peshkin.net" Date: Sat, 10 Jul 2004 07:17:02 +0000 Subject: [PATCH] Bug 234825: Keep duplicates.cgi from revealing products user doesnt have access to r,a=justdave --- webtools/bugzilla/duplicates.cgi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webtools/bugzilla/duplicates.cgi b/webtools/bugzilla/duplicates.cgi index b45bd271062..744ad814730 100755 --- a/webtools/bugzilla/duplicates.cgi +++ b/webtools/bugzilla/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')),