]> git.openstreetmap.org Git - nominatim.git/commitdiff
fix display of nearpoint in debug view
authorSarah Hoffmann <lonvia@denofr.de>
Mon, 18 Sep 2017 21:06:30 +0000 (23:06 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Mon, 18 Sep 2017 21:06:30 +0000 (23:06 +0200)
lib/lib.php

index 8f353a4d84980ee3e0d7608d2278d15bbe0992aa..a5439ef25a9dd39fd41ed2a843e9bbb45b4fa1dc 100644 (file)
@@ -545,8 +545,8 @@ function _debugDumpGroupedSearches($aData, $aTokens)
             echo "<td>".$aRow['sPostcode']."</td>";
             echo "<td>".$aRow['sHouseNumber']."</td>";
 
-            echo "<td>".$aRow['fLat']."</td>";
-            echo "<td>".$aRow['fLon']."</td>";
+            echo "<td>".$aRow['oNear']->lat()."</td>";
+            echo "<td>".$aRow['oNear']->lon()."</td>";
             echo "<td>".$aRow['fRadius']."</td>";
 
             echo "</tr>";