From e18725b7f720a3df90c402593aac07fd299e2bc0 Mon Sep 17 00:00:00 2001 From: "terry%netscape.com" <> Date: Tue, 10 Nov 1998 06:45:32 +0000 Subject: [PATCH] Fixed stupid bug causing stupid error messages. --- CGI.pl | 3 +++ 1 file changed, 3 insertions(+) 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") { -- 2.47.2