From: Sarah Hoffmann Date: Tue, 15 Oct 2013 17:45:01 +0000 (+0200) Subject: remove NY hack and wait for complaints to arrive X-Git-Tag: deploy~570 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/4270de96c41bdd3e579e25ec110a0d060f4e84e9 remove NY hack and wait for complaints to arrive --- 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']))