summaryrefslogtreecommitdiffstats
path: root/queryhelp.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 /queryhelp.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 'queryhelp.cgi')
-rwxr-xr-xqueryhelp.cgi5
1 files changed, 2 insertions, 3 deletions
diff --git a/queryhelp.cgi b/queryhelp.cgi
index 3b2da379f..48a4e0855 100755
--- a/queryhelp.cgi
+++ b/queryhelp.cgi
@@ -32,6 +32,8 @@ use lib qw(.);
require "CGI.pl";
ConnectToDatabase();
+quietly_check_login();
+
GetVersionTable();
print "Content-type: text/html\n\n";
@@ -558,8 +560,6 @@ user with the proper permissions can edit these keywords. The following is a lis
stored on this version of Bugzilla:
};
-ConnectToDatabase();
-
my $tableheader = qq{
<p><table border="1" cellpadding="4" cellspacing="0">
<tr bgcolor="#6666FF">
@@ -609,7 +609,6 @@ while (MoreSQLData()) {
print "</table><p>\n";
-quietly_check_login();
if (UserInGroup("editkeywords")) {
print qq{<p><a href="editkeywords.cgi">Edit keywords</a>\n};