diff options
author | bbaetz%acm.org <> | 2003-06-07 22:59:24 +0200 |
---|---|---|
committer | bbaetz%acm.org <> | 2003-06-07 22:59:24 +0200 |
commit | e66fbf3f53a1295873ad0b25db413148565b7a62 (patch) | |
tree | 4406f37f869fc155784ae6be375d536c5502286e | |
parent | 93b46e547ae68336276ea56e0d2f1206d31a35a6 (diff) | |
download | bugzilla-e66fbf3f53a1295873ad0b25db413148565b7a62.tar.gz bugzilla-e66fbf3f53a1295873ad0b25db413148565b7a62.tar.xz |
Bug 208620 - Fix return value of Bugzilla->login when user already exists
r,a=justdave
-rw-r--r-- | Bugzilla.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla.pm b/Bugzilla.pm index 0ce6a5e72..871b76a54 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; |