summaryrefslogtreecommitdiffstats
path: root/post_bug.cgi
diff options
context:
space:
mode:
authorbbaetz%student.usyd.edu.au <>2002-06-17 18:38:56 +0200
committerbbaetz%student.usyd.edu.au <>2002-06-17 18:38:56 +0200
commit70eb21091d161fe0325000af992f6f398683c92a (patch)
treef76e853435c05bbb3d88b56c174faa54ae7828f6 /post_bug.cgi
parent89aebbf6bf7cf73f9ae51d295aee68205c68e731 (diff)
downloadbugzilla-70eb21091d161fe0325000af992f6f398683c92a.tar.gz
bugzilla-70eb21091d161fe0325000af992f6f398683c92a.tar.xz
Bug 151053, ConnectToDatabase/quietly_check_login sometimes not called
early enough r=mattyt, jouni
Diffstat (limited to 'post_bug.cgi')
-rwxr-xr-xpost_bug.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/post_bug.cgi b/post_bug.cgi
index c04e34db0..fe0871191 100755
--- a/post_bug.cgi
+++ b/post_bug.cgi
@@ -50,6 +50,7 @@ sub sillyness {
# Use global template variables.
use vars qw($vars $template);
+ConnectToDatabase();
confirm_login();
@@ -89,7 +90,6 @@ if (defined $::FORM{'maketemplate'}) {
}
umask 0;
-ConnectToDatabase();
# Some sanity checking
if(Param("usebuggroupsentry") && GroupExists($product)) {