]> git.openstreetmap.org Git - nominatim.git/commitdiff
Fix repeating lat twice in span instead of lat, lon.
authorGrant <github@firefishy.com>
Sun, 22 Jul 2012 02:45:45 +0000 (04:45 +0200)
committerGrant <github@firefishy.com>
Sun, 22 Jul 2012 02:45:45 +0000 (04:45 +0200)
lib/template/search-html.php

index 8b79e40c413c3351aa511718e87b4c38e50f89ee..70ca70e018edb2cd72523859e34704e69a2f3d77 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>';