We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bbffb44 commit 4712037Copy full SHA for 4712037
src/Session/CipherKeyStorage.php
@@ -61,7 +61,7 @@ public function setCipherKey(string $cipherKey): void
61
*/
62
public function getCipherKey(): string
63
{
64
- if (!$this->cipherKey) {
+ if (!isset($this->cipherKey) || !$this->cipherKey) {
65
$this->cipherKey = hex2bin($this->session->get(self::SESSION_CIPHER_KEY));
66
}
67
if (!trim($this->cipherKey)) {
0 commit comments