diff --git a/lib/private/Session/CryptoSessionData.php b/lib/private/Session/CryptoSessionData.php index 272e82ef49..530bd9063c 100644 --- a/lib/private/Session/CryptoSessionData.php +++ b/lib/private/Session/CryptoSessionData.php @@ -75,7 +75,7 @@ class CryptoSessionData implements \ArrayAccess, ISession { } protected function initializeSession() { - $encryptedSessionData = $this->session->get(self::encryptedSessionName); + $encryptedSessionData = $this->session->get(self::encryptedSessionName) ?: ''; try { $this->sessionValues = json_decode( $this->crypto->decrypt($encryptedSessionData, $this->passphrase),