mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-26 11:08:13 +00:00
skip output of lat/lon in debug when no near point given
This commit is contained in:
@@ -545,8 +545,12 @@ function _debugDumpGroupedSearches($aData, $aTokens)
|
|||||||
echo "<td>".$aRow['sPostcode']."</td>";
|
echo "<td>".$aRow['sPostcode']."</td>";
|
||||||
echo "<td>".$aRow['sHouseNumber']."</td>";
|
echo "<td>".$aRow['sHouseNumber']."</td>";
|
||||||
|
|
||||||
echo "<td>".$aRow['oNear']->lat()."</td>";
|
if ($aRow['oNear']) {
|
||||||
echo "<td>".$aRow['oNear']->lon()."</td>";
|
echo "<td>".$aRow['oNear']->lat()."</td>";
|
||||||
|
echo "<td>".$aRow['oNear']->lon()."</td>";
|
||||||
|
} else {
|
||||||
|
echo "<td></td><td></td>";
|
||||||
|
}
|
||||||
echo "<td>".$aRow['fRadius']."</td>";
|
echo "<td>".$aRow['fRadius']."</td>";
|
||||||
|
|
||||||
echo "</tr>";
|
echo "</tr>";
|
||||||
|
|||||||
Reference in New Issue
Block a user