Commit 1c34d9f2 authored by jeremy's avatar jeremy
Browse files

Bug #332719: don't lose anonymous sessions.

parent fe2a6981
......@@ -158,7 +158,7 @@ function sess_user_load($session) {
}
// We didn't find the client's record (session has expired), or they are an anonymous user.
else {
$session = isset($user->session) ? $user->session : '';
$session = isset($session->session) ? $session->session : '';
$user = drupal_anonymous_user($session);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment