From: bbaetz%acm.org <> Date: Sat, 7 Jun 2003 20:59:24 +0000 (+0000) Subject: Bug 208620 - Fix return value of Bugzilla->login when user already exists X-Git-Tag: bugzilla-2.17.5~137 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e66fbf3f53a1295873ad0b25db413148565b7a62;p=thirdparty%2Fbugzilla.git Bug 208620 - Fix return value of Bugzilla->login when user already exists r,a=justdave --- diff --git a/Bugzilla.pm b/Bugzilla.pm index 0ce6a5e720..871b76a545 100644 --- a/Bugzilla.pm +++ b/Bugzilla.pm @@ -61,7 +61,7 @@ sub login { # $::COOKIE{'Bugzilla_login'} from a userid to a loginname # (for backwards compat) if (defined $_user) { - return $_user->{id}; + return $_user; } $type = LOGIN_NORMAL unless defined $type;