X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/dba5b2f86e3b91eade86a851932004a56b34134e..99d52aed1b5c07459fa5c99e2eef114d612c7c0e:/lib/template/search-json.php?ds=sidebyside diff --git a/lib/template/search-json.php b/lib/template/search-json.php index ee2b4bd2..50009bc3 100644 --- a/lib/template/search-json.php +++ b/lib/template/search-json.php @@ -20,7 +20,7 @@ foreach($aSearchResults as $iResNum => $aPointDetails) { $aPlace['boundingbox'] = $aPointDetails['aBoundingBox']; - if (isset($aPointDetails['aPolyPoints']) && $bShowPolygons) + if (isset($aPointDetails['aPolyPoints'])) { $aPlace['polygonpoints'] = $aPointDetails['aPolyPoints']; }