]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Fixed stupid bug causing stupid error messages.
authorterry%netscape.com <>
Tue, 10 Nov 1998 06:45:32 +0000 (06:45 +0000)
committerterry%netscape.com <>
Tue, 10 Nov 1998 06:45:32 +0000 (06:45 +0000)
CGI.pl

diff --git a/CGI.pl b/CGI.pl
index 8c2a90d4617910bcd85b26ae05e57a7e2d64b6ae..f16640bc1a390e5d9c0b4f72d05483b38dbe5a15 100644 (file)
--- 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") {