X-Git-Url: https://git.openstreetmap.org/nominatim.git/blobdiff_plain/7e0fdf5928a0c726b22ad969267a3b9e0402c823..b2f3cfde0bb3d6a02e248272c3101970d7cfeb2e:/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); }