diff options
author | Pedro Junior <v.ju.ni.or.v@gmail.com> | 2011-09-05 14:47:09 +0200 |
---|---|---|
committer | Pedro Junior <v.ju.ni.or.v@gmail.com> | 2011-09-05 14:47:09 +0200 |
commit | 7fe625aa1b294d135c860a79830da12658238c7e (patch) | |
tree | 40ed093aec5fff25ead9534d30b51222b8aeeb0a /system/libraries/Profiler.php | |
parent | 40d1a7684444f6a8eb4cda23d8822f0b258f0c3e (diff) |
CI_Profiler => Accepting objects while profiling session data.
Diffstat (limited to 'system/libraries/Profiler.php')
-rw-r--r-- | system/libraries/Profiler.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Profiler.php b/system/libraries/Profiler.php index 330acce73..ac58129a9 100644 --- a/system/libraries/Profiler.php +++ b/system/libraries/Profiler.php @@ -506,7 +506,7 @@ class CI_Profiler { foreach ($this->CI->session->all_userdata() as $key => $val) { - if (is_array($val)) + if (is_array($val) || is_object($val)) { $val = print_r($val, TRUE); } |