Skip to content
Snippets Groups Projects
Commit 93755073 authored by Tim van Dijen's avatar Tim van Dijen
Browse files

Fix sessions

parent f6c571ad
No related branches found
No related tags found
No related merge requests found
...@@ -77,7 +77,7 @@ abstract class SessionHandlerCookie extends SessionHandler ...@@ -77,7 +77,7 @@ abstract class SessionHandlerCookie extends SessionHandler
} }
// check if we have a valid session id // check if we have a valid session id
if (!self::isValidSessionID($this->session_id)) { if (!is_null($this->session_id) && !self::isValidSessionID($this->session_id)) {
// invalid, disregard this session // invalid, disregard this session
return null; return null;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment