Cache_redis: AND -> && correction, srrict in_array() check.
diff --git a/system/libraries/Cache/drivers/Cache_redis.php b/system/libraries/Cache/drivers/Cache_redis.php
index 33a28de..68d9633 100644
--- a/system/libraries/Cache/drivers/Cache_redis.php
+++ b/system/libraries/Cache/drivers/Cache_redis.php
@@ -82,7 +82,7 @@
{
$value = $this->_redis->get($key);
- if ($value !== FALSE AND in_array($key, $this->_serialized))
+ if ($value !== FALSE && in_array($key, $this->_serialized, TRUE))
{
return unserialize($value);
}