summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorterry%mozilla.org <>2000-01-28 16:15:44 +0100
committerterry%mozilla.org <>2000-01-28 16:15:44 +0100
commite58c4504311423656889069ef7570bcf8452042a (patch)
tree5effd8d20ece6455a2e508ec66f38a198b4eff89
parent7f7c02b11a78757e59b8504ce6b65ba8900cfd3a (diff)
downloadbugzilla-e58c4504311423656889069ef7570bcf8452042a.tar.gz
bugzilla-e58c4504311423656889069ef7570bcf8452042a.tar.xz
Was crashing if you weren't already logged in.
-rwxr-xr-xquery.cgi1
1 files changed, 1 insertions, 0 deletions
diff --git a/query.cgi b/query.cgi
index 6e3b2bd66..0afb630ba 100755
--- a/query.cgi
+++ b/query.cgi
@@ -666,6 +666,7 @@ print "
my @fields;
push(@fields, ["noop", "---"]);
+ConnectToDatabase();
SendSQL("SELECT name, description FROM fielddefs ORDER BY sortkey");
while (MoreSQLData()) {
my ($name, $description) = (FetchSQLData());