Skip to content

Commit

Permalink
fix: read() should return false if lockSession() failed
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Feb 22, 2024
1 parent c921825 commit 7249361
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/Session/Handlers/RedisHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ public function read($id)
return $data;
}

return '';
return false;
}

/**
Expand Down

0 comments on commit 7249361

Please sign in to comment.