X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/09bde0baf96af07d5873e952f604fe4e2409e455..2db6f931b6ce1d331433f7e4f02ac332381a7b29:/lib/Geocode.php?ds=inline diff --git a/lib/Geocode.php b/lib/Geocode.php index 78b0716f..ff262398 100644 --- a/lib/Geocode.php +++ b/lib/Geocode.php @@ -330,7 +330,8 @@ } // 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 = 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 if (isset($this->aLangPrefOrder['name:en']))