Commit e58c4504 authored by terry%mozilla.org's avatar terry%mozilla.org

Was crashing if you weren't already logged in.

parent 7f7c02b1
...@@ -666,6 +666,7 @@ print " ...@@ -666,6 +666,7 @@ print "
my @fields; my @fields;
push(@fields, ["noop", "---"]); push(@fields, ["noop", "---"]);
ConnectToDatabase();
SendSQL("SELECT name, description FROM fielddefs ORDER BY sortkey"); SendSQL("SELECT name, description FROM fielddefs ORDER BY sortkey");
while (MoreSQLData()) { while (MoreSQLData()) {
my ($name, $description) = (FetchSQLData()); my ($name, $description) = (FetchSQLData());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment