summaryrefslogtreecommitdiffstats
path: root/system/libraries/Session/drivers
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2014-09-16 09:18:16 +0200
committerAndrey Andreev <narf@devilix.net>2014-09-16 09:18:16 +0200
commitd069b9bc148f739733a5aa0a737e51e57c10b3ad (patch)
tree2eac25e4c7cebd0dc226ec1db990906b76aa6723 /system/libraries/Session/drivers
parentc9efaced2fd453bf4c2fcefd31ee1a9afdf8ff16 (diff)
feature/session (#3073): Bug fixes
- CI_Session_database_driver::read() didn't pass the session ID to _get_lock() - CI_Session::unset_userdata() used a wrong key for unsetting when an array is passed to it
Diffstat (limited to 'system/libraries/Session/drivers')
-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 032199fc1..563d1fd6a 100644
--- a/system/libraries/Session/drivers/Session_database_driver.php
+++ b/system/libraries/Session/drivers/Session_database_driver.php
@@ -116,7 +116,7 @@ class CI_Session_database_driver extends CI_Session_driver implements SessionHan
public function read($session_id)
{
- if ($this->_get_lock() !== FALSE)
+ if ($this->_get_lock($session_id) !== FALSE)
{
$this->_db
->select('data')