diff options
author | Andrey Andreev <narf@devilix.net> | 2016-05-26 09:28:04 +0200 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2016-05-26 09:28:04 +0200 |
commit | d680779debb08d1e50fb234ceb63a75b1a2710ed (patch) | |
tree | 91c084b0ff9ccd0e5e9172f8a21e856bd86eae3f /system/libraries/Session | |
parent | c6b01c8b602a8bb458f2817494f54c414ef40c8a (diff) |
[ci skip] Fix a minor Redis Session bug
Diffstat (limited to 'system/libraries/Session')
-rw-r--r-- | system/libraries/Session/drivers/Session_redis_driver.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Session/drivers/Session_redis_driver.php b/system/libraries/Session/drivers/Session_redis_driver.php index e4e09fe0d..8db74c0ca 100644 --- a/system/libraries/Session/drivers/Session_redis_driver.php +++ b/system/libraries/Session/drivers/Session_redis_driver.php @@ -255,7 +255,7 @@ class CI_Session_redis_driver extends CI_Session_driver implements SessionHandle if ($this->_redis->ping() === '+PONG') { $this->_release_lock(); - if ($this->_redis->close() === $this->_failure) + if ($this->_redis->close() === FALSE) { return $this->_fail(); } |