diff --git a/src/Pluf/HTTP/Response/ServerErrorDebug.php b/src/Pluf/HTTP/Response/ServerErrorDebug.php index f25e03a..c4db34a 100644 --- a/src/Pluf/HTTP/Response/ServerErrorDebug.php +++ b/src/Pluf/HTTP/Response/ServerErrorDebug.php @@ -225,15 +225,15 @@ function Pluf_HTTP_Response_ServerErrorDebug_Pretty($e)
'; foreach ($frame['args'] as $k => $v) { - $name = isset($params[$k]) ? '$'.$params[$k]->name : '?'; + $name = (isset($params[$k]) and isset($params[$k]->name)) ? '$'.$params[$k]->name : '?'; $out .= '