summaryrefslogtreecommitdiffstats
path: root/Bugzilla.pm
diff options
context:
space:
mode:
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;