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