mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 02:14:13 +00:00
fix redis adapter which was broken since 4 years
This commit is contained in:
@@ -167,7 +167,7 @@ class CI_Cache_redis extends CI_Driver
|
||||
{
|
||||
$data = $this->_redis->hMGet($key, array('__ci_type', '__ci_value'));
|
||||
|
||||
if ($value !== FALSE && $this->_redis->sIsMember('_ci_redis_serialized', $key))
|
||||
if ($data['__ci_value'] !== FALSE && $this->_redis->sIsMember('_ci_redis_serialized', $key))
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user