summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorIvan Tcholakov <ivantcholakov@gmail.com>2014-08-18 08:56:05 +0200
committerIvan Tcholakov <ivantcholakov@gmail.com>2014-08-18 08:56:05 +0200
commite838c836fbe5ff5859e7a4450032572af31323e6 (patch)
treee73b6f647e7df629957ed739354888f39c0b7b70 /system
parent927e508f9bb73eb4b1e3fe763d2f3b722d5e8a30 (diff)
Cache_redis: AND -> && correction, srrict in_array() check.
Diffstat (limited to 'system')
-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 33a28de71..68d96334f 100644
--- a/system/libraries/Cache/drivers/Cache_redis.php
+++ b/system/libraries/Cache/drivers/Cache_redis.php
@@ -82,7 +82,7 @@ class CI_Cache_redis extends CI_Driver
{
$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);
}