From d2e81e8bee6877feae3d3d8619b041338623c2fa Mon Sep 17 00:00:00 2001 From: Ludovic Arnaud Date: Mon, 10 Jul 2006 23:55:08 +0000 Subject: [PATCH] Fixed: bug #3191 as per NeoThermic's patch git-svn-id: file:///svn/phpbb/trunk@6167 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/search/fulltext_native.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/includes/search/fulltext_native.php b/phpBB/includes/search/fulltext_native.php index 35c73c8bb7..cfb977f3fa 100755 --- a/phpBB/includes/search/fulltext_native.php +++ b/phpBB/includes/search/fulltext_native.php @@ -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);