]> git.openstreetmap.org Git - nominatim.git/blobdiff - website/search.php
merge in the postcode and is_in terms into the address vector for search
[nominatim.git] / website / search.php
index 00ac3b9554f584b3cf2b7ad129418a27aca76a47..be74cc9b2d7061b9d695f8557d938edbbb17aad5 100755 (executable)
 //var_Dump($aSearchResults);
 //exit;
        $aClassType = getClassTypesWithImportance();
-       $aRecheckWords = preg_split('/\b/',$sQuery);
+       $aRecheckWords = preg_split('/\b/u',$sQuery);
        foreach($aRecheckWords as $i => $sWord)
        {
                if (!$sWord) unset($aRecheckWords[$i]);