Skip to content

Commit

Permalink
fix: revert cache session handler read return
Browse files Browse the repository at this point in the history
  • Loading branch information
ikkez committed Dec 31, 2024
1 parent c8b97d8 commit 227b3b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion session.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ function read(string $id)
{
$this->sid=$id;
if (!$data=$this->_cache->get($id.'.@'))
return false;
return '';
$this->_data = $data;
if ($data['ip']!=$this->_ip || $data['agent']!=$this->_agent) {
$fw=Base::instance();
Expand Down

0 comments on commit 227b3b0

Please sign in to comment.