summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Auth/Login/WWW
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-01-10 04:07:25 +0100
committerlpsolit%gmail.com <>2006-01-10 04:07:25 +0100
commit645e95abf828c530a1638934315c96e72768e8d1 (patch)
treeeec521ba74cbce292e691f8924bdbb5c1ab78abf /Bugzilla/Auth/Login/WWW
parent2ebb84291955ea5b1f5bf35b9fb7760dddaec5e0 (diff)
downloadbugzilla-645e95abf828c530a1638934315c96e72768e8d1.tar.gz
bugzilla-645e95abf828c530a1638934315c96e72768e8d1.tar.xz
Bug 322620: Logging in with 'Remember my Login' deselected gives: Use of uninitialized value in string eq at Bugzilla/Auth/Login/WWW/CGI.pm line 83 - Patch by Olav Vitters <bugzilla-mozilla@bkor.dhs.org> r=LpSolit a=justdave
Diffstat (limited to 'Bugzilla/Auth/Login/WWW')
-rw-r--r--Bugzilla/Auth/Login/WWW/CGI.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/Bugzilla/Auth/Login/WWW/CGI.pm b/Bugzilla/Auth/Login/WWW/CGI.pm
index e3fc4c7f4..a697a623f 100644
--- a/Bugzilla/Auth/Login/WWW/CGI.pm
+++ b/Bugzilla/Auth/Login/WWW/CGI.pm
@@ -82,6 +82,7 @@ sub login {
# or admin didn't forbid it and user told to remember.
if ((Param('rememberlogin') eq 'on') ||
((Param('rememberlogin') ne 'off') &&
+ $cgi->param('Bugzilla_remember') &&
($cgi->param('Bugzilla_remember') eq 'on'))) {
$cgi->send_cookie(-name => 'Bugzilla_login',
-value => $userid,