diff --git a/session.php b/session.php index a87d602f..e4eb82a6 100644 --- a/session.php +++ b/session.php @@ -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();