summaryrefslogtreecommitdiffstats
path: root/CGI.pl
diff options
context:
space:
mode:
authorterry%netscape.com <>1998-11-10 07:45:32 +0100
committerterry%netscape.com <>1998-11-10 07:45:32 +0100
commite18725b7f720a3df90c402593aac07fd299e2bc0 (patch)
treed685c364a9c4f439a29b440787f01971b2331c2f /CGI.pl
parent3527d4e3ba988e87bfc775b654ad5144c99bedc8 (diff)
downloadbugzilla-e18725b7f720a3df90c402593aac07fd299e2bc0.tar.gz
bugzilla-e18725b7f720a3df90c402593aac07fd299e2bc0.tar.xz
Fixed stupid bug causing stupid error messages.
Diffstat (limited to 'CGI.pl')
-rw-r--r--CGI.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/CGI.pl b/CGI.pl
index 8c2a90d46..f16640bc1 100644
--- a/CGI.pl
+++ b/CGI.pl
@@ -337,6 +337,9 @@ To use the wonders of bugzilla, you can use the following:
$::COOKIE{"Bugzilla_logincookie"} .
" and profiles.userid = logincookies.userid");
$loginok = FetchOneColumn();
+ if (!defined $loginok) {
+ $loginok = 0;
+ }
}
if ($loginok ne "1") {