summaryrefslogtreecommitdiffstats
path: root/post_bug.cgi
diff options
context:
space:
mode:
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)) {