Bug 234825: Keep duplicates.cgi from revealing products user doesnt have access to
r,a=justdave git-svn-id: svn://10.0.0.236/trunk@158974 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
a578d8d31c
commit
73743f82c5
@ -266,7 +266,8 @@ $vars->{'openonly'} = $openonly;
|
|||||||
$vars->{'reverse'} = $reverse;
|
$vars->{'reverse'} = $reverse;
|
||||||
$vars->{'format'} = $cgi->param('format');
|
$vars->{'format'} = $cgi->param('format');
|
||||||
$vars->{'query_products'} = \@query_products;
|
$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')),
|
my $format = GetFormat("reports/duplicates", scalar($cgi->param('format')),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user