summaryrefslogtreecommitdiffstats
path: root/system/libraries/Session/Session.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2014-10-26 20:27:28 +0100
committerAndrey Andreev <narf@devilix.net>2014-10-26 20:27:28 +0100
commitc6e50989480d5e9a9847177b8dc7cefa6559329a (patch)
treecb18274dc86b3b712485349012feafd0f5e96d75 /system/libraries/Session/Session.php
parentc5519ce166943b744bbea75a87831132aced4247 (diff)
#3073 (feature/session): set_flashdata() crap
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 c00262cc2..7908badf8 100644
--- a/system/libraries/Session/Session.php
+++ b/system/libraries/Session/Session.php
@@ -766,7 +766,7 @@ class CI_Session {
public function set_flashdata($data, $value = NULL)
{
$this->set_userdata($data, $value);
- $this->mark_as_flash($data);
+ $this->mark_as_flash(is_array($data) ? array_keys($data) : $data);
}
// ------------------------------------------------------------------------