mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-26 11:08:13 +00:00
@@ -642,12 +642,6 @@ class Geocode
|
|||||||
$oValidTokens = new TokenList();
|
$oValidTokens = new TokenList();
|
||||||
|
|
||||||
if (!empty($aTokens)) {
|
if (!empty($aTokens)) {
|
||||||
$sSQL = 'SELECT word_id, word_token, word, class, type, country_code, operator, search_name_count';
|
|
||||||
$sSQL .= ' FROM word ';
|
|
||||||
$sSQL .= ' WHERE word_token in ('.join(',', $this->oDB->getDBQuotedList($aTokens)).')';
|
|
||||||
|
|
||||||
Debug::printSQL($sSQL);
|
|
||||||
|
|
||||||
$oValidTokens->addTokensFromDB(
|
$oValidTokens->addTokensFromDB(
|
||||||
$this->oDB,
|
$this->oDB,
|
||||||
$aTokens,
|
$aTokens,
|
||||||
|
|||||||
Reference in New Issue
Block a user