diff options
author | Dylan William Hardison <dylan@hardison.net> | 2017-03-07 15:42:21 +0100 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2017-03-07 15:42:33 +0100 |
commit | b72174df29cfee4e043de453298853a25747417e (patch) | |
tree | 00a795a9fcd16ac8746e069701431d2984775fa1 | |
parent | 26367637b952a2d27f2145c2a580b4c174cf3d35 (diff) | |
download | bugzilla-b72174df29cfee4e043de453298853a25747417e.tar.gz bugzilla-b72174df29cfee4e043de453298853a25747417e.tar.xz |
Bug 1343936 - Strange error in userprefs.cgi
-rwxr-xr-x | userprefs.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/userprefs.cgi b/userprefs.cgi index 015f6bf4e..d7b20573f 100755 --- a/userprefs.cgi +++ b/userprefs.cgi @@ -785,7 +785,7 @@ sub DoSessions { my $sessions = Bugzilla::User::Session->match({ userid => $user->id, LIMIT => SESSION_MAX + 1 }); my $info_getter = $user->authorizer && $user->authorizer->successful_info_getter(); - if ($info_getter) { + if ($info_getter && $info_getter->can('cookie')) { foreach my $session (@$sessions) { $session->{current} = $info_getter->cookie eq $session->{cookie}; } |