From e66fbf3f53a1295873ad0b25db413148565b7a62 Mon Sep 17 00:00:00 2001 From: "bbaetz%acm.org" <> Date: Sat, 7 Jun 2003 20:59:24 +0000 Subject: Bug 208620 - Fix return value of Bugzilla->login when user already exists r,a=justdave --- Bugzilla.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bugzilla.pm') 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; -- cgit v1.2.3-24-g4f1b