mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-13 14:58:52 +00:00
- fix stopword handling for searches in search results
git-svn-id: file:///svn/phpbb/trunk@5009 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
1a432006e3
commit
4683e23427
1 changed files with 6 additions and 2 deletions
|
@ -318,8 +318,12 @@ if ($search_keywords || $search_author || $search_id)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (isset($old_split_words) && sizeof($old_split_words))
|
||||||
|
{
|
||||||
|
$split_words = (sizeof($split_words)) ? array_diff($split_words, $old_split_words) : $old_split_words;
|
||||||
|
}
|
||||||
|
|
||||||
if (sizeof($split_words) && array_diff($split_words, $old_split_words))
|
if (sizeof($split_words))
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue