summaryrefslogtreecommitdiffstats
path: root/system/libraries/Session/drivers/Session_redis_driver.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2016-05-26 09:28:04 +0200
committerAndrey Andreev <narf@devilix.net>2016-05-26 09:28:04 +0200
commitd680779debb08d1e50fb234ceb63a75b1a2710ed (patch)
tree91c084b0ff9ccd0e5e9172f8a21e856bd86eae3f /system/libraries/Session/drivers/Session_redis_driver.php
parentc6b01c8b602a8bb458f2817494f54c414ef40c8a (diff)
[ci skip] Fix a minor Redis Session bug
Diffstat (limited to 'system/libraries/Session/drivers/Session_redis_driver.php')
-rw-r--r--system/libraries/Session/drivers/Session_redis_driver.php2
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();
}