There was an error while loading. Please reload this page.
1 parent 38b4f50 commit 08b28f5Copy full SHA for 08b28f5
libraries/Profiler.php
@@ -549,16 +549,19 @@ function _compile_userdata()
549
{
550
if (is_numeric($key))
551
552
-$output[$key] = "'$val'";
+$output[$key] = print_r($val,true);
553
}
554
555
if (is_array($val) || is_object($val))
556
557
-$output[$key] = htmlspecialchars(stripslashes(print_r($val, true)));
+if (is_object($val))
558
+$output[$key] = json_decode(json_encode($val), true);
559
+else
560
+$output[$key] = htmlspecialchars(stripslashes(print_r($val, true)));
561
562
else
563
-$output[$key] = htmlspecialchars(stripslashes($val));
564
565
566
567
0 commit comments