Skip to content

Commit 16f4d71

Browse files
authored
Merge pull request #7824 from nextcloud/fix-type-in-CryptoSessionData
Fix type in CryptoSessionData
2 parents 3dc7d0f + fe0dbe7 commit 16f4d71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/private/Session/CryptoSessionData.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public function __destruct() {
7575
}
7676

7777
protected function initializeSession() {
78-
$encryptedSessionData = $this->session->get(self::encryptedSessionName);
78+
$encryptedSessionData = $this->session->get(self::encryptedSessionName) ?: '';
7979
try {
8080
$this->sessionValues = json_decode(
8181
$this->crypto->decrypt($encryptedSessionData, $this->passphrase),

0 commit comments

Comments
 (0)