summaryrefslogtreecommitdiffstats
path: root/system/libraries/Session/Session.php
diff options
context:
space:
mode:
authorHeesung Ahn <ahn.heesung@gmail.com>2015-03-30 18:08:24 +0200
committerHeesung Ahn <ahn.heesung@gmail.com>2015-03-30 18:08:24 +0200
commit38344dc980a438db8618582e0174a00bdb2fd94c (patch)
tree1a30f3afcefeb7e8d3e85c9ece2b94954ed36e6e /system/libraries/Session/Session.php
parentfc67a701a574641b5dfd7afe00d4c5d403111626 (diff)
parentfd3105716f5cdede79b9b471561413c161db250c (diff)
Merge origin/develop into UnitTest_Lang_test
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 bb457c659..0549fef66 100644
--- a/system/libraries/Session/Session.php
+++ b/system/libraries/Session/Session.php
@@ -869,7 +869,7 @@ class CI_Session {
public function set_tempdata($data, $value = NULL, $ttl = 300)
{
$this->set_userdata($data, $value);
- $this->mark_as_temp($data, $ttl);
+ $this->mark_as_temp(is_array($data) ? array_keys($data) : $data, $ttl);
}
// ------------------------------------------------------------------------