]> git.openstreetmap.org Git - nominatim.git/commitdiff
Merge branch 'patch-1' of https://github.com/Firefishy/Nominatim
authorSarah Hoffmann <lonvia@denofr.de>
Sun, 22 Jul 2012 07:02:55 +0000 (09:02 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Sun, 22 Jul 2012 07:02:55 +0000 (09:02 +0200)
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>';