X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/d6f298f0336f69d0f89157a42fa546337f4d80e5..8564b76add152949d0493f8d15c5049f154118eb:/lib/lib.php diff --git a/lib/lib.php b/lib/lib.php index e200202b..a05ddc4b 100644 --- a/lib/lib.php +++ b/lib/lib.php @@ -178,7 +178,7 @@ { $aResult = array(array(join(' ',$aWords))); $sFirstToken = ''; - if ($iDepth < 8) { + if ($iDepth < 7) { while(sizeof($aWords) > 1) { $sWord = array_shift($aWords); @@ -994,4 +994,4 @@ $sQuery = trim(str_replace($sFound, ' ', $sQuery)); return array('lat' => $fQueryLat, 'lon' => $fQueryLon, 'query' => $sQuery); - } \ No newline at end of file + }