summaryrefslogtreecommitdiffstats
path: root/system/libraries
diff options
context:
space:
mode:
authorftwbzhao <b.zhao1@gmail.com>2015-04-09 07:27:01 +0200
committerftwbzhao <b.zhao1@gmail.com>2015-04-09 07:27:01 +0200
commitb2119a785cc980cc0b22bc8535729dbad50a0913 (patch)
tree3c49566b1d14bbbebd53eb14a4c619cf4df021dc /system/libraries
parentabd713f3a6d09f83304e3cf97ff1dfc7b237e094 (diff)
[fix] redis get_metadata
Diffstat (limited to 'system/libraries')
-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 43e217784..114c32983 100644
--- a/system/libraries/Cache/drivers/Cache_redis.php
+++ b/system/libraries/Cache/drivers/Cache_redis.php
@@ -223,7 +223,7 @@ class CI_Cache_redis extends CI_Driver
{
$value = $this->get($key);
- if ($value)
+ if ($value !== FALSE)
{
return array(
'expire' => time() + $this->_redis->ttl($key),