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