summaryrefslogtreecommitdiffstats
path: root/userprefs.cgi
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2017-03-07 15:42:21 +0100
committerDylan William Hardison <dylan@hardison.net>2017-03-07 15:42:33 +0100
commitb72174df29cfee4e043de453298853a25747417e (patch)
tree00a795a9fcd16ac8746e069701431d2984775fa1 /userprefs.cgi
parent26367637b952a2d27f2145c2a580b4c174cf3d35 (diff)
downloadbugzilla-b72174df29cfee4e043de453298853a25747417e.tar.gz
bugzilla-b72174df29cfee4e043de453298853a25747417e.tar.xz
Bug 1343936 - Strange error in userprefs.cgi
Diffstat (limited to 'userprefs.cgi')
-rwxr-xr-xuserprefs.cgi2
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};
}