summaryrefslogtreecommitdiffstats
path: root/reports.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'reports.cgi')
-rwxr-xr-xreports.cgi4
1 files changed, 1 insertions, 3 deletions
diff --git a/reports.cgi b/reports.cgi
index 05e19990e..e18d3ee37 100755
--- a/reports.cgi
+++ b/reports.cgi
@@ -61,9 +61,7 @@ GetVersionTable();
# We only want those products that the user has permissions for.
my @myproducts;
push( @myproducts, "-All-");
-foreach my $this_product (@legal_product) {
- push(@myproducts, $this_product) if CanEnterProduct($this_product);
-}
+push( @myproducts, GetSelectableProducts());
if (! defined $FORM{'product'}) {