forked from hans/Nominatim
return unchanged term if normalizer was not found
This commit is contained in:
@@ -63,7 +63,7 @@ class Geocode
|
||||
private function normTerm($sTerm)
|
||||
{
|
||||
if ($this->oNormalizer === null) {
|
||||
return null;
|
||||
return $sTerm;
|
||||
}
|
||||
|
||||
return $this->oNormalizer->transliterate($sTerm);
|
||||
|
||||
Reference in New Issue
Block a user