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