Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
a71cb94d
Commit
a71cb94d
authored
Jun 03, 2002
by
bbaetz%student.usyd.edu.au
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 145702 - query.cgi doesn't always ConnectToDatabase() early enough
r=justdave, preed
parent
6a4c8ef4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
query.cgi
query.cgi
+2
-1
No files found.
query.cgi
View file @
a71cb94d
...
@@ -50,6 +50,8 @@ use vars qw(
...
@@ -50,6 +50,8 @@ use vars qw(
$vars
$vars
)
;
)
;
ConnectToDatabase
();
if
(
defined
$::FORM
{
"GoAheadAndLogIn"
})
{
if
(
defined
$::FORM
{
"GoAheadAndLogIn"
})
{
# We got here from a login page, probably from relogin.cgi. We better
# We got here from a login page, probably from relogin.cgi. We better
# make sure the password is legit.
# make sure the password is legit.
...
@@ -301,7 +303,6 @@ $vars->{'userid'} = $::userid;
...
@@ -301,7 +303,6 @@ $vars->{'userid'} = $::userid;
# Boolean charts
# Boolean charts
my
@fields
;
my
@fields
;
push
(
@fields
,
{
name
=>
"noop"
,
description
=>
"---"
});
push
(
@fields
,
{
name
=>
"noop"
,
description
=>
"---"
});
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
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment