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