From: Sarah Hoffmann Date: Mon, 27 Aug 2012 21:17:17 +0000 (+0200) Subject: fix format error in polygon output X-Git-Tag: deploy~675 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/5014ebed295703844df0db490f950e6f71aca142 fix format error in polygon output --- diff --git a/lib/template/search-html.php b/lib/template/search-html.php index 9269672d..7878540e 100644 --- a/lib/template/search-html.php +++ b/lib/template/search-html.php @@ -450,7 +450,11 @@ init(); echo ', '.$aResult['aBoundingBox'][1]; echo ', '.$aResult['aBoundingBox'][2]; echo ', '.$aResult['aBoundingBox'][3]; - if (isset($aResult['aPolyPoints'])) echo ', '.javascript_renderData($aResult['aPolyPoints']); + if (isset($aResult['aPolyPoints'])) + { + echo ', '; + echo javascript_renderData($aResult['aPolyPoints']); + } echo ');'."\n"; } else