Quellcode durchsuchen

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 vor 6 Jahren
Ursprung
Commit
fe0dbe7fb7
Es ist kein Account mit der E-Mail-Adresse des Committers verbunden
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1
    1
      lib/private/Session/CryptoSessionData.php

+ 1
- 1
lib/private/Session/CryptoSessionData.php Datei anzeigen

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

Laden…
Abbrechen
Speichern