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:
bbaetz%student.usyd.edu.au
2002-06-17 09:39:48 +00:00
parent 6799a03665
commit 4403bbe04e
22 changed files with 49 additions and 33 deletions

View File

@@ -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'});