summaryrefslogtreecommitdiffstats
path: root/CGI.pl
diff options
context:
space:
mode:
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") {