]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/template/search-json.php
Merge remote-tracking branch 'upstream/master'
[nominatim.git] / lib / template / search-json.php
index ee2b4bd280b99e0d6df1dd9e45ee27226dde9202..50009bc375023e70982331bee7808844456ef900 100644 (file)
@@ -20,7 +20,7 @@ foreach($aSearchResults as $iResNum => $aPointDetails)
     {
         $aPlace['boundingbox'] = $aPointDetails['aBoundingBox'];
 
     {
         $aPlace['boundingbox'] = $aPointDetails['aBoundingBox'];
 
-        if (isset($aPointDetails['aPolyPoints']) && $bShowPolygons)
+        if (isset($aPointDetails['aPolyPoints']))
         {
             $aPlace['polygonpoints'] = $aPointDetails['aPolyPoints'];
         }
         {
             $aPlace['polygonpoints'] = $aPointDetails['aPolyPoints'];
         }