summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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());