X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/1d8e2961f0527a548989c1e38bb062f2f9e5877e..141b32f4192819579adbc1388a90ba92d47485e6:/lib/DebugHtml.php diff --git a/lib/DebugHtml.php b/lib/DebugHtml.php index ff1724d2..a600fae5 100644 --- a/lib/DebugHtml.php +++ b/lib/DebugHtml.php @@ -153,6 +153,8 @@ class Debug $sPre = ', '; } } + } elseif (is_object($mVar) && method_exists($mVar, 'debugInfo')) { + Debug::outputVar($mVar->debugInfo(), $sPreNL); } else { Debug::outputSimpleVar($mVar); }