diff --git a/mozilla/webtools/bugzilla/reports.cgi b/mozilla/webtools/bugzilla/reports.cgi index dd081ad1286..b48ad71336d 100755 --- a/mozilla/webtools/bugzilla/reports.cgi +++ b/mozilla/webtools/bugzilla/reports.cgi @@ -57,6 +57,7 @@ my %reports = # If we're using bug groups for products, we should apply those restrictions # to viewing reports, as well. Time to check the login in that case. +ConnectToDatabase(1); quietly_check_login(); print "Content-type: text/html\n"; @@ -74,7 +75,6 @@ else print("