summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbugreport%peshkin.net <>2002-11-30 12:47:41 +0100
committerbugreport%peshkin.net <>2002-11-30 12:47:41 +0100
commit41ea14c4b1aec8fa78251cef46d89e37103ea643 (patch)
tree5bbcd31a5fda47b9611bf33abc25fd11c27b226c
parentd707f3797346662cee38575de18862770e7869d4 (diff)
downloadbugzilla-41ea14c4b1aec8fa78251cef46d89e37103ea643.tar.gz
bugzilla-41ea14c4b1aec8fa78251cef46d89e37103ea643.tar.xz
Bug 182512 Charts over time broken
patch by joel r=gerv a=justdave
-rwxr-xr-xreports.cgi3
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");
}