Skip to content

Commit 3c8c6a4

Browse files
committed
Update Session.php
1 parent 2ec0b75 commit 3c8c6a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Session.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ public function readSession($id)
116116
{
117117
$data = $this->redis->executeCommand('GET', [$this->calculateKey($id)]);
118118

119-
return $data === false ? '' : $data;
119+
return $data === false || $data === null ? '' : $data;
120120
}
121121

122122
/**

0 commit comments

Comments
 (0)