aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/search/fulltext_native.php
diff options
context:
space:
mode:
authorLudovic Arnaud <ludovic_arnaud@users.sourceforge.net>2006-07-10 23:55:08 +0000
committerLudovic Arnaud <ludovic_arnaud@users.sourceforge.net>2006-07-10 23:55:08 +0000
commitd2e81e8bee6877feae3d3d8619b041338623c2fa (patch)
tree8ebaa840c8761a323cd48d92794f6da4540f2507 /phpBB/includes/search/fulltext_native.php
parenteb9548f465752323af2579c4b17cc2587244349c (diff)
downloadforums-d2e81e8bee6877feae3d3d8619b041338623c2fa.tar
forums-d2e81e8bee6877feae3d3d8619b041338623c2fa.tar.gz
forums-d2e81e8bee6877feae3d3d8619b041338623c2fa.tar.bz2
forums-d2e81e8bee6877feae3d3d8619b041338623c2fa.tar.xz
forums-d2e81e8bee6877feae3d3d8619b041338623c2fa.zip
Fixed: bug #3191 as per NeoThermic's patch
git-svn-id: file:///svn/phpbb/trunk@6167 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/search/fulltext_native.php')
-rwxr-xr-xphpBB/includes/search/fulltext_native.php2
1 files changed, 1 insertions, 1 deletions
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);