diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-11-02 22:33:45 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-11-02 22:33:45 +0100 |
commit | e24eed7e4e410fabf7479a67d3a27e2596444505 (patch) | |
tree | b751d0553e2a72dc0dbe909b3c7db1fc0d4d2f5c /system/libraries | |
parent | 533bf2dd5f36e277a9ee6629ccd667a32b05d154 (diff) |
Some micro-optimizations
Diffstat (limited to 'system/libraries')
-rwxr-xr-x | system/libraries/Session/Session.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Session/Session.php b/system/libraries/Session/Session.php index bb13c3376..96e65f154 100755 --- a/system/libraries/Session/Session.php +++ b/system/libraries/Session/Session.php @@ -528,7 +528,7 @@ class CI_Session extends CI_Driver_Library { foreach ($this->all_userdata() as $name => $value) { $parts = explode(self::FLASHDATA_NEW, $name); - if (is_array($parts) && count($parts) === 2) + if (count($parts) === 2) { $new_name = self::FLASHDATA_KEY.self::FLASHDATA_OLD.$parts[1]; $this->set_userdata($new_name, $value); |