]> git.andy128k.dev Git - ipf.git/commitdiff
show arrays on debug error page
authorAndrey Kutejko <andy128k@gmail.com>
Tue, 19 Jun 2012 10:05:41 +0000 (13:05 +0300)
committerAndrey Kutejko <andy128k@gmail.com>
Tue, 19 Jun 2012 10:05:41 +0000 (13:05 +0300)
ipf/http/response/servererrordebug.php

index 04986f2c5597b7606a25d773509a7dbb51b647bf..4b3b5335894ec83c21fba01197e076f15d4c14ec 100644 (file)
@@ -201,7 +201,7 @@ function IPF_HTTP_Response_ServerErrorDebug_Pretty($e)
                         $value = 'Instance of '.get_class($v);
                         break;
                     default:
-                        $value = (string)$v;
+                        $value = print_r($v, true);
                 }
                 $out .= '
                 <tr>