Bug 234825: Keep duplicates.cgi from revealing products user doesnt have access to

r,a=justdave
This commit is contained in:
bugreport%peshkin.net 2004-07-10 07:17:02 +00:00
Родитель cd25b41e3c
Коммит 0dad4ccd5c
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -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')),