From 41ea14c4b1aec8fa78251cef46d89e37103ea643 Mon Sep 17 00:00:00 2001 From: "bugreport%peshkin.net" <> Date: Sat, 30 Nov 2002 11:47:41 +0000 Subject: Bug 182512 Charts over time broken patch by joel r=gerv a=justdave --- reports.cgi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'reports.cgi') 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"); } -- cgit v1.2.1