]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 208620 - Fix return value of Bugzilla->login when user already exists
authorbbaetz%acm.org <>
Sat, 7 Jun 2003 20:59:24 +0000 (20:59 +0000)
committerbbaetz%acm.org <>
Sat, 7 Jun 2003 20:59:24 +0000 (20:59 +0000)
r,a=justdave

Bugzilla.pm

index 0ce6a5e7204bac359aaf6afd7b53912a6b35720b..871b76a54502d98de24f2ef0a5a858b58c9168da 100644 (file)
@@ -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;