X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/50e6173b55206a098fa851362e970022f6bba55e..9c6d30ca956849bab8db239627dfdf4f9eeec6bb:/lib/Geocode.php diff --git a/lib/Geocode.php b/lib/Geocode.php index 016fc101..1588dff5 100644 --- a/lib/Geocode.php +++ b/lib/Geocode.php @@ -485,8 +485,6 @@ $sCountryCodesSQL = join(',', array_map('addQuotes', $this->aCountryCodes)); } - // Hack to make it handle "new york, ny" (and variants) correctly - //$sQuery = str_ireplace(array('New York, ny','new york, new york', 'New York ny','new york new york'), 'new york city, ny', $this->sQuery); $sQuery = $this->sQuery; // Conflicts between US state abreviations and various words for 'the' in different languages @@ -498,7 +496,7 @@ } // View Box SQL - $sViewboxCentreSQL; + $sViewboxCentreSQL = false; $bBoundingBoxSearch = false; if ($this->aViewBox) {