Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Yii Framework 2 redis extension Change Log
-----------------------

- Bug #37: Fixed detection of open socket (mirocow)
- Bug #46: Fixed bug to execute session_regenerate_id in PHP 7.0 (githubjeka)
- Chg #14: Added missing `BLPOP` to `$redisCommands` (samdark)

2.0.4 May 10, 2015
Expand Down
2 changes: 1 addition & 1 deletion Session.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public function readSession($id)
{
$data = $this->redis->executeCommand('GET', [$this->calculateKey($id)]);

return $data === false ? '' : $data;
return $data === false || $data === null ? '' : $data;
}

/**
Expand Down