]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/Geocode.php
return unchanged term if normalizer was not found
[nominatim.git] / lib / Geocode.php
index a5b9d4859423e3929460e8a50295915b596f2a6a..96ebbb13cc6c22dcef838bc5ff2b679f18c72744 100644 (file)
@@ -63,7 +63,7 @@ class Geocode
     private function normTerm($sTerm)
     {
         if ($this->oNormalizer === null) {
-            return null;
+            return $sTerm;
         }
 
         return $this->oNormalizer->transliterate($sTerm);