fix redis adapter which was broken since 4 years

This commit is contained in:
HB9HIL
2026-02-01 18:56:56 +01:00
parent 5af088306c
commit 50aea5ccd4

View File

@@ -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;
}