From e58c4504311423656889069ef7570bcf8452042a Mon Sep 17 00:00:00 2001 From: "terry%mozilla.org" <> Date: Fri, 28 Jan 2000 15:15:44 +0000 Subject: Was crashing if you weren't already logged in. --- query.cgi | 1 + 1 file changed, 1 insertion(+) (limited to 'query.cgi') 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()); -- cgit v1.2.1