summaryrefslogtreecommitdiffstats
path: root/system/libraries/Session/drivers/Session_database_driver.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2015-12-15 12:00:52 +0100
committerAndrey Andreev <narf@devilix.net>2015-12-15 12:00:52 +0100
commitbb71dbadb7441a97a09e1e6d90fbddc884af67d1 (patch)
tree6cf915d348e6d0e9b01f5ab1015f8fd4058c5732 /system/libraries/Session/drivers/Session_database_driver.php
parent2d6d9ab0bfeb546d8c9d7924af7ccc095f798e41 (diff)
Diffstat (limited to 'system/libraries/Session/drivers/Session_database_driver.php')
-rw-r--r--system/libraries/Session/drivers/Session_database_driver.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Session/drivers/Session_database_driver.php b/system/libraries/Session/drivers/Session_database_driver.php
index 40a358fb8..f2adacb6b 100644
--- a/system/libraries/Session/drivers/Session_database_driver.php
+++ b/system/libraries/Session/drivers/Session_database_driver.php
@@ -299,7 +299,7 @@ class CI_Session_database_driver extends CI_Session_driver implements SessionHan
}
}
- if ($this->close())
+ if ($this->close() === $this->_success)
{
$this->_cookie_destroy();
return $this->_success;