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