summaryrefslogtreecommitdiffstats
path: root/system/libraries/Cache/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'system/libraries/Cache/drivers')
-rw-r--r--system/libraries/Cache/drivers/Cache_redis.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Cache/drivers/Cache_redis.php b/system/libraries/Cache/drivers/Cache_redis.php
index c334afb0d..a50eb22ac 100644
--- a/system/libraries/Cache/drivers/Cache_redis.php
+++ b/system/libraries/Cache/drivers/Cache_redis.php
@@ -145,7 +145,7 @@ class CI_Cache_redis extends CI_Driver
{
$value = $this->_redis->hMGet($key, array('type', 'data'));
- if ( ! is_array($value) OR ! isset($value['type'], $value['data']))
+ if ($value === FALSE OR $value['type'] === FALSE)
{
return FALSE;
}