]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/TokenList.php
Merge pull request #1277 from lonvia/osm2pgsql-import-from-json
[nominatim.git] / lib / TokenList.php
index 67d94edd7ded9efa1c598b67d3d90eadc3972aba..a5b3c2d28710214ec21b7b0a2c2b0c248ca84746 100644 (file)
@@ -138,7 +138,7 @@ class TokenList
             } else {
                 $oToken = new Token\Word(
                     $iId,
             } else {
                 $oToken = new Token\Word(
                     $iId,
-                    $aWord['word'][0] != ' ',
+                    $aWord['word_token'][0] != ' ',
                     (int) $aWord['count']
                 );
             }
                     (int) $aWord['count']
                 );
             }