summaryrefslogtreecommitdiffstats
path: root/Bugzilla.pm
diff options
context:
space:
mode:
authorbbaetz%acm.org <>2003-06-07 22:59:24 +0200
committerbbaetz%acm.org <>2003-06-07 22:59:24 +0200
commite66fbf3f53a1295873ad0b25db413148565b7a62 (patch)
tree4406f37f869fc155784ae6be375d536c5502286e /Bugzilla.pm
parent93b46e547ae68336276ea56e0d2f1206d31a35a6 (diff)
downloadbugzilla-e66fbf3f53a1295873ad0b25db413148565b7a62.tar.gz
bugzilla-e66fbf3f53a1295873ad0b25db413148565b7a62.tar.xz
Bug 208620 - Fix return value of Bugzilla->login when user already exists
r,a=justdave
Diffstat (limited to 'Bugzilla.pm')
-rw-r--r--Bugzilla.pm2
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;