diff options
author | ftwbzhao <b.zhao1@gmail.com> | 2015-04-09 07:27:01 +0200 |
---|---|---|
committer | ftwbzhao <b.zhao1@gmail.com> | 2015-04-09 07:27:01 +0200 |
commit | b2119a785cc980cc0b22bc8535729dbad50a0913 (patch) | |
tree | 3c49566b1d14bbbebd53eb14a4c619cf4df021dc /system/libraries | |
parent | abd713f3a6d09f83304e3cf97ff1dfc7b237e094 (diff) |
[fix] redis get_metadata
Diffstat (limited to 'system/libraries')
-rw-r--r-- | system/libraries/Cache/drivers/Cache_redis.php | 2 |
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), |