X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/3433ec306e6e93bf1d7efbadb718ce00b5ffe17e..1526501ed7786fd0c7e63c570fae125f960a3571:/lib/TokenList.php diff --git a/lib/TokenList.php b/lib/TokenList.php index 67d94edd..a5b3c2d2 100644 --- a/lib/TokenList.php +++ b/lib/TokenList.php @@ -138,7 +138,7 @@ class TokenList } else { $oToken = new Token\Word( $iId, - $aWord['word'][0] != ' ', + $aWord['word_token'][0] != ' ', (int) $aWord['count'] ); }