]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib-php/Geocode.php
move SearchDescription building into tokens
[nominatim.git] / lib-php / Geocode.php
index c2b4f4e4c0704e035f37518b784c251bc62a8c02..734f40693a188036e35e3e99a8ee9b2788501ce9 100644 (file)
@@ -362,9 +362,8 @@ class Geocode
 
                     foreach ($aWordsetSearches as $oCurrentSearch) {
                         foreach ($oValidTokens->get($sToken) as $oSearchTerm) {
-                            $aNewSearches = $oCurrentSearch->extendWithSearchTerm(
-                                $sToken,
-                                $oSearchTerm,
+                            $aNewSearches = $oSearchTerm->extendSearch(
+                                $oCurrentSearch,
                                 $oPosition
                             );