summaryrefslogtreecommitdiffstats
path: root/system/libraries/Session/Session.php
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/Session.php
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/Session.php')
-rw-r--r--system/libraries/Session/Session.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Session/Session.php b/system/libraries/Session/Session.php
index a5c9737f7..be9f5e3c7 100644
--- a/system/libraries/Session/Session.php
+++ b/system/libraries/Session/Session.php
@@ -567,7 +567,7 @@ class CI_Session {
{
foreach ($key as $k)
{
- unset($_SESSION[$key]);
+ unset($_SESSION[$k]);
}
return;