X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/141b32f4192819579adbc1388a90ba92d47485e6..986956e4b43c8ca1890125c9cafcbb97bcc5325a:/lib/TokenList.php diff --git a/lib/TokenList.php b/lib/TokenList.php index a5b3c2d2..2d0c7c16 100644 --- a/lib/TokenList.php +++ b/lib/TokenList.php @@ -85,7 +85,7 @@ class TokenList $sSQL = 'SELECT word_id, word_token, word, class, type, country_code,'; $sSQL .= ' operator, coalesce(search_name_count, 0) as count'; $sSQL .= ' FROM word WHERE word_token in ('; - $sSQL .= join(',', array_map('getDBQuoted', $aTokens)).')'; + $sSQL .= join(',', $oDB->getDBQuotedList($aTokens)).')'; Debug::printSQL($sSQL);