commit | bb71dbadb7441a97a09e1e6d90fbddc884af67d1 | [log] [tgz] |
---|---|---|
author | Andrey Andreev <narf@devilix.net> | Tue Dec 15 13:00:52 2015 +0200 |
committer | Andrey Andreev <narf@devilix.net> | Tue Dec 15 13:00:52 2015 +0200 |
tree | 6cf915d348e6d0e9b01f5ab1015f8fd4058c5732 | |
parent | 2d6d9ab0bfeb546d8c9d7924af7ccc095f798e41 [diff] [blame] |
Fix logical errors from af849696d43f5c3b68962af1ae5096151a6d9f1a
diff --git a/system/libraries/Session/drivers/Session_database_driver.php b/system/libraries/Session/drivers/Session_database_driver.php index 40a358f..f2adacb 100644 --- a/system/libraries/Session/drivers/Session_database_driver.php +++ b/system/libraries/Session/drivers/Session_database_driver.php
@@ -299,7 +299,7 @@ } } - if ($this->close()) + if ($this->close() === $this->_success) { $this->_cookie_destroy(); return $this->_success;