]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 182512 Charts over time broken
authorbugreport%peshkin.net <>
Sat, 30 Nov 2002 11:47:41 +0000 (11:47 +0000)
committerbugreport%peshkin.net <>
Sat, 30 Nov 2002 11:47:41 +0000 (11:47 +0000)
patch by joel
r=gerv
a=justdave

reports.cgi

index 67b175a5ea8a0b823a83ad68228e355001f169e2..05e19990e433ea30f9768335d4941179b3f8ca59 100755 (executable)
@@ -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");
     }