diff options
Diffstat (limited to 'lib/SimpleSAML/SessionHandlerStore.php')
-rw-r--r-- | lib/SimpleSAML/SessionHandlerStore.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/SimpleSAML/SessionHandlerStore.php b/lib/SimpleSAML/SessionHandlerStore.php index ecf7154..9006880 100644 --- a/lib/SimpleSAML/SessionHandlerStore.php +++ b/lib/SimpleSAML/SessionHandlerStore.php @@ -43,6 +43,10 @@ class SimpleSAML_SessionHandlerStore extends SimpleSAML_SessionHandlerCookie if ($sessionId === null) { $sessionId = $this->getCookieSessionId(); + if ($sessionId === null) { + // no session cookie, nothing to load + return null; + } } $session = $this->store->get('session', $sessionId); |