diff --git a/lib/Toby/ShowExceptions.php b/lib/Toby/ShowExceptions.php index d8011d6..076d038 100644 --- a/lib/Toby/ShowExceptions.php +++ b/lib/Toby/ShowExceptions.php @@ -18,7 +18,10 @@ private function pretty_array($array,$name="data") { $result = ""; foreach($array as $key=>$value) + { + if(!is_string($value)) $value = 'Object'; $result .= "
No $name.
"; return "Variable | Value |
---|