commit | b2119a785cc980cc0b22bc8535729dbad50a0913 | [log] [tgz] |
---|---|---|
author | ftwbzhao <b.zhao1@gmail.com> | Thu Apr 09 13:27:01 2015 +0800 |
committer | ftwbzhao <b.zhao1@gmail.com> | Thu Apr 09 13:27:01 2015 +0800 |
tree | 3c49566b1d14bbbebd53eb14a4c619cf4df021dc | |
parent | abd713f3a6d09f83304e3cf97ff1dfc7b237e094 [diff] |
[fix] redis get_metadata
diff --git a/system/libraries/Cache/drivers/Cache_redis.php b/system/libraries/Cache/drivers/Cache_redis.php index 43e2177..114c329 100644 --- a/system/libraries/Cache/drivers/Cache_redis.php +++ b/system/libraries/Cache/drivers/Cache_redis.php
@@ -223,7 +223,7 @@ { $value = $this->get($key); - if ($value) + if ($value !== FALSE) { return array( 'expire' => time() + $this->_redis->ttl($key),