From: terry%netscape.com <> Date: Tue, 10 Nov 1998 06:45:32 +0000 (+0000) Subject: Fixed stupid bug causing stupid error messages. X-Git-Tag: bugzilla-2.2~62 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e18725b7f720a3df90c402593aac07fd299e2bc0;p=thirdparty%2Fbugzilla.git Fixed stupid bug causing stupid error messages. --- diff --git a/CGI.pl b/CGI.pl index 8c2a90d461..f16640bc1a 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") {