mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
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:
parent
eb9548f465
commit
d2e81e8bee
1 changed files with 1 additions and 1 deletions
|
@ -957,7 +957,7 @@ class fulltext_native extends search_backend
|
||||||
if ($config['num_posts'] >= 100)
|
if ($config['num_posts'] >= 100)
|
||||||
{
|
{
|
||||||
$sql = 'SELECT word_id, word_text
|
$sql = 'SELECT word_id, word_text
|
||||||
FROM ' . SEARCH_WORDMATCH_TABLE . '
|
FROM ' . SEARCH_WORDLIST_TABLE . '
|
||||||
GROUP BY word_id
|
GROUP BY word_id
|
||||||
HAVING COUNT(word_id) > ' . floor($config['num_posts'] * 0.6);
|
HAVING COUNT(word_id) > ' . floor($config['num_posts'] * 0.6);
|
||||||
$result = $db->sql_query($sql);
|
$result = $db->sql_query($sql);
|
||||||
|
|
Loading…
Add table
Reference in a new issue