mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +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'));
|
$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;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user