X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/0e613a362e67bcb718e0f56ebc6410c204dd3842..c0b44113371bd40c74b90b0e49dc0ff63e672a4f:/lib/lib.php diff --git a/lib/lib.php b/lib/lib.php index 092965ba..e14f52f9 100644 --- a/lib/lib.php +++ b/lib/lib.php @@ -55,7 +55,7 @@ function getWordSets($aWords, $iDepth) { $aResult = array(array(join(' ', $aWords))); $sFirstToken = ''; - if ($iDepth < 8) { + if ($iDepth < 7) { while (sizeof($aWords) > 1) { $sWord = array_shift($aWords); $sFirstToken .= ($sFirstToken?' ':'').$sWord;