mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-26 11:08:13 +00:00
return unchanged term if normalizer was not found
This commit is contained in:
@@ -63,7 +63,7 @@ class Geocode
|
|||||||
private function normTerm($sTerm)
|
private function normTerm($sTerm)
|
||||||
{
|
{
|
||||||
if ($this->oNormalizer === null) {
|
if ($this->oNormalizer === null) {
|
||||||
return null;
|
return $sTerm;
|
||||||
}
|
}
|
||||||
|
|
||||||
return $this->oNormalizer->transliterate($sTerm);
|
return $this->oNormalizer->transliterate($sTerm);
|
||||||
|
|||||||
Reference in New Issue
Block a user