X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/1f0cf6311a66454b9854aec6acf75b0b8f8ae492..3eb4d8805700ba12bd601e552c3bc48064423083:/lib-php/Geocode.php diff --git a/lib-php/Geocode.php b/lib-php/Geocode.php index ec6876fa..d9c1b3c0 100644 --- a/lib-php/Geocode.php +++ b/lib-php/Geocode.php @@ -8,6 +8,7 @@ require_once(CONST_LibDir.'/ReverseGeocode.php'); require_once(CONST_LibDir.'/SearchDescription.php'); require_once(CONST_LibDir.'/SearchContext.php'); require_once(CONST_LibDir.'/TokenList.php'); +require_once(CONST_TokenizerDir.'/tokenizer.php'); class Geocode { @@ -829,7 +830,6 @@ class Geocode foreach ($aResults as $oResult) { if (($this->iMaxAddressRank == 30 && ($oResult->iTable == Result::TABLE_OSMLINE - || $oResult->iTable == Result::TABLE_AUX || $oResult->iTable == Result::TABLE_TIGER)) || in_array($oResult->iId, $aFilteredIDs) ) {