X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/115c909fdf65966774940ef957cf0bd63ba844f2..92061778f82345dce7138d79519d2ada5733dccd:/lib/lib.php diff --git a/lib/lib.php b/lib/lib.php index 28b44c50..cdd6b5cb 100644 --- a/lib/lib.php +++ b/lib/lib.php @@ -545,9 +545,13 @@ function _debugDumpGroupedSearches($aData, $aTokens) echo "".$aRow['sPostcode'].""; echo "".$aRow['sHouseNumber'].""; - echo "".$aRow['fLat'].""; - echo "".$aRow['fLon'].""; - echo "".$aRow['fRadius'].""; + if ($aRow['oNear']) { + echo "".$aRow['oNear']->lat().""; + echo "".$aRow['oNear']->lon().""; + echo "".$aRow['oNear']->radius().""; + } else { + echo ""; + } echo ""; }