]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/template/search-html.php
Merge branch 'patch-1' of https://github.com/Firefishy/Nominatim
[nominatim.git] / lib / template / search-html.php
index 89e4800be35fa76fbaf4a4964a7a40ccbadffcf0..9269672d7d16e857f4af3028c683615b0ba56d17 100644 (file)
@@ -372,7 +372,7 @@ target="_blank">FAQ</a></td>
 
                echo (isset($aResult['icon'])?'<img src="'.$aResult['icon'].'">':'');
                echo ' <span class="name">'.$aResult['name'].'</span>';
-               echo ' <span class="latlon">'.round($aResult['lat'],3).','.round($aResult['lat'],3).'</span>';
+               echo ' <span class="latlon">'.round($aResult['lat'],3).','.round($aResult['lon'],3).'</span>';
                echo ' <span class="place_id">'.$aResult['place_id'].'</span>';
                if (isset($aResult['label']))
                        echo ' <span class="type">('.$aResult['label'].')</span>';