From 386cc09bdd56a413836a4e74579f60772bbf0e80 Mon Sep 17 00:00:00 2001 From: "bugreport%peshkin.net" <> Date: Sat, 10 Jul 2004 14:17:02 +0000 Subject: Bug 234825: Keep duplicates.cgi from revealing products user doesnt have access to r,a=justdave --- duplicates.cgi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'duplicates.cgi') 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')), -- cgit v1.2.3-24-g4f1b