X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/7e0fdf5928a0c726b22ad969267a3b9e0402c823..b05c379b39cc13eaaa42d0d774c25cfc7fa32231:/lib/DebugHtml.php diff --git a/lib/DebugHtml.php b/lib/DebugHtml.php index a600fae5..98da8794 100644 --- a/lib/DebugHtml.php +++ b/lib/DebugHtml.php @@ -155,6 +155,8 @@ class Debug } } elseif (is_object($mVar) && method_exists($mVar, 'debugInfo')) { Debug::outputVar($mVar->debugInfo(), $sPreNL); + } elseif (is_a($mVar, 'stdClass')) { + Debug::outputVar(json_decode(json_encode($mVar), true), $sPreNL); } else { Debug::outputSimpleVar($mVar); }