Browse Source

Fix type in CryptoSessionData

Found while adding strict typing for PHP7+.

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
tags/v14.0.0beta1
Morris Jobke 6 years ago
parent
commit
fe0dbe7fb7
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      lib/private/Session/CryptoSessionData.php

+ 1
- 1
lib/private/Session/CryptoSessionData.php View File

@@ -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),

Loading…
Cancel
Save