瀏覽代碼

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 年之前
父節點
當前提交
fe0dbe7fb7
No account linked to committer's email address
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      lib/private/Session/CryptoSessionData.php

+ 1
- 1
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),

Loading…
取消
儲存