Sfoglia il codice sorgente

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 anni fa
parent
commit
fe0dbe7fb7
Nessun account collegato all'indirizzo email del committer
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      lib/private/Session/CryptoSessionData.php

+ 1
- 1
lib/private/Session/CryptoSessionData.php Vedi 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…
Annulla
Salva