diff options
Diffstat (limited to 'reports.cgi')
-rwxr-xr-x | reports.cgi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/reports.cgi b/reports.cgi index 67b175a5e..05e19990e 100755 --- a/reports.cgi +++ b/reports.cgi @@ -82,7 +82,8 @@ if (! defined $FORM{'product'}) { # We don't want people to be able to view # reports for products they don't have permissions for... - if (!CanEnterProduct($FORM{'product'})) { + if (($FORM{'product'} ne '-All-') + && (!CanEnterProduct($FORM{'product'}))) { ThrowUserError("report_access_denied"); } |