mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
git-svn-id: file:///svn/phpbb/trunk@6800 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
c4a7d13055
commit
8e72037e67
1 changed files with 2 additions and 3 deletions
|
@ -953,10 +953,9 @@ class fulltext_native extends search_backend
|
|||
*/
|
||||
$word = strtok($this->cleanup(preg_replace($match, ' ', strip_tags($text)), -1), ' ');
|
||||
|
||||
while (isset($word[0]))
|
||||
while (strlen($word))
|
||||
{
|
||||
if (isset($word[255])
|
||||
|| !isset($word[$isset_min]))
|
||||
if (strlen($word) > 255 || strlen($word) <= $isset_min)
|
||||
{
|
||||
/**
|
||||
* Words longer than 255 bytes are ignored. This will have to be
|
||||
|
|
Loading…
Add table
Reference in a new issue