summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xduplicates.cgi3
1 files changed, 2 insertions, 1 deletions
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')),