From 70eb21091d161fe0325000af992f6f398683c92a Mon Sep 17 00:00:00 2001 From: "bbaetz%student.usyd.edu.au" <> Date: Mon, 17 Jun 2002 16:38:56 +0000 Subject: Bug 151053, ConnectToDatabase/quietly_check_login sometimes not called early enough r=mattyt, jouni --- queryhelp.cgi | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'queryhelp.cgi') 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{

@@ -609,7 +609,6 @@ while (MoreSQLData()) { print "

\n"; -quietly_check_login(); if (UserInGroup("editkeywords")) { print qq{

Edit keywords\n}; -- cgit v1.2.3-24-g4f1b