X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/d6b70c9b731b396f6d3baa49d3740fc52f4c3ede..b3ed566d152fb7ae0ff2f750b338d47960961f4c:/website/search.php?ds=inline diff --git a/website/search.php b/website/search.php index f1ddbbe5..22a1c7c0 100755 --- a/website/search.php +++ b/website/search.php @@ -187,7 +187,7 @@ $bAsText = $oGeocode->getIncludePolygonAsText(); $sQuery = $oGeocode->getQueryString(); $sViewBox = $oGeocode->getViewBoxString(); - $bShowPolygons = (isset($_GET['polygon']) && isset($_GET['polygon'])); + $bShowPolygons = (isset($_GET['polygon']) && $_GET['polygon']); $aExcludePlaceIDs = $oGeocode->getExcludedPlaceIDs(); $sMoreURL = CONST_Website_BaseURL.'search?format='.urlencode($sOutputFormat).'&exclude_place_ids='.join(',',$oGeocode->getExcludedPlaceIDs());