commit | d680779debb08d1e50fb234ceb63a75b1a2710ed | [log] [tgz] |
---|---|---|
author | Andrey Andreev <narf@devilix.net> | Thu May 26 10:28:04 2016 +0300 |
committer | Andrey Andreev <narf@devilix.net> | Thu May 26 10:28:04 2016 +0300 |
tree | 91c084b0ff9ccd0e5e9172f8a21e856bd86eae3f | |
parent | c6b01c8b602a8bb458f2817494f54c414ef40c8a [diff] [blame] |
[ci skip] Fix a minor Redis Session bug
diff --git a/system/libraries/Session/drivers/Session_redis_driver.php b/system/libraries/Session/drivers/Session_redis_driver.php index e4e09fe..8db74c0 100644 --- a/system/libraries/Session/drivers/Session_redis_driver.php +++ b/system/libraries/Session/drivers/Session_redis_driver.php
@@ -255,7 +255,7 @@ if ($this->_redis->ping() === '+PONG') { $this->_release_lock(); - if ($this->_redis->close() === $this->_failure) + if ($this->_redis->close() === FALSE) { return $this->_fail(); }