my $cgi = Bugzilla->cgi;
my $dbh = Bugzilla->dbh;
+# We have to check the login here to get the correct footer
+# if an error is thrown.
+Bugzilla->login();
+
if (length($::buffer) == 0) {
print $cgi->header(-refresh=> '10; URL=query.cgi');
ThrowUserError("buglist_parameters_required");
object => "multiple_bugs"});
GetVersionTable();
}
-else {
- Bugzilla->login();
-}
# Hack to support legacy applications that think the RDF ctype is at format=rdf.
if (defined $cgi->param('format') && $cgi->param('format') eq "rdf"