Fixed: bug #3191 as per NeoThermic's patch

git-svn-id: file:///svn/phpbb/trunk@6167 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Ludovic Arnaud 2006-07-10 23:55:08 +00:00
parent eb9548f465
commit d2e81e8bee

View file

@ -957,7 +957,7 @@ class fulltext_native extends search_backend
if ($config['num_posts'] >= 100)
{
$sql = 'SELECT word_id, word_text
FROM ' . SEARCH_WORDMATCH_TABLE . '
FROM ' . SEARCH_WORDLIST_TABLE . '
GROUP BY word_id
HAVING COUNT(word_id) > ' . floor($config['num_posts'] * 0.6);
$result = $db->sql_query($sql);