Bug 151053, ConnectToDatabase/quietly_check_login sometimes not called
early enough r=mattyt, jouni git-svn-id: svn://10.0.0.236/trunk@123428 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -32,6 +32,9 @@ require "CGI.pl";
|
||||
|
||||
use vars qw($template $vars);
|
||||
|
||||
ConnectToDatabase();
|
||||
quietly_check_login();
|
||||
|
||||
if (!defined $::FORM{'id'} || !$::FORM{'id'}) {
|
||||
print "Content-Type: text/html\n\n";
|
||||
$template->process("bug/choose-xml.html.tmpl", $vars)
|
||||
@@ -39,8 +42,6 @@ if (!defined $::FORM{'id'} || !$::FORM{'id'}) {
|
||||
exit;
|
||||
}
|
||||
|
||||
quietly_check_login();
|
||||
|
||||
my $exporter = $::COOKIE{"Bugzilla_login"} || undef;
|
||||
|
||||
my @ids = split (/[, ]+/, $::FORM{'id'});
|
||||
|
||||
Reference in New Issue
Block a user