From: bugreport%peshkin.net <> Date: Sat, 10 Jul 2004 14:17:02 +0000 (+0000) Subject: Bug 234825: Keep duplicates.cgi from revealing products user doesnt have access to X-Git-Tag: bugzilla-2.18rc1~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=386cc09bdd56a413836a4e74579f60772bbf0e80;p=thirdparty%2Fbugzilla.git Bug 234825: Keep duplicates.cgi from revealing products user doesnt have access to r,a=justdave --- diff --git a/duplicates.cgi b/duplicates.cgi index b45bd27106..744ad81473 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')),