X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/effd8e12af440586594a18a04beb33abed260d15..819b858ba70fa01484ec8547f3f34b654aa4181c:/lib/template/search-json.php 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']; }