summaryrefslogtreecommitdiffstats
path: root/system/libraries/Profiler.php
diff options
context:
space:
mode:
authorPedro Junior <v.ju.ni.or.v@gmail.com>2011-09-05 14:47:09 +0200
committerPedro Junior <v.ju.ni.or.v@gmail.com>2011-09-05 14:47:09 +0200
commit7fe625aa1b294d135c860a79830da12658238c7e (patch)
tree40ed093aec5fff25ead9534d30b51222b8aeeb0a /system/libraries/Profiler.php
parent40d1a7684444f6a8eb4cda23d8822f0b258f0c3e (diff)
CI_Profiler => Accepting objects while profiling session data.
Diffstat (limited to 'system/libraries/Profiler.php')
-rw-r--r--system/libraries/Profiler.php2
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);
}