mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-03 07:18:08 +02:00
git-svn-id: file:///svn/phpbb/trunk@6800 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -953,10 +953,9 @@ class fulltext_native extends search_backend
|
|||||||
*/
|
*/
|
||||||
$word = strtok($this->cleanup(preg_replace($match, ' ', strip_tags($text)), -1), ' ');
|
$word = strtok($this->cleanup(preg_replace($match, ' ', strip_tags($text)), -1), ' ');
|
||||||
|
|
||||||
while (isset($word[0]))
|
while (strlen($word))
|
||||||
{
|
{
|
||||||
if (isset($word[255])
|
if (strlen($word) > 255 || strlen($word) <= $isset_min)
|
||||||
|| !isset($word[$isset_min]))
|
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Words longer than 255 bytes are ignored. This will have to be
|
* Words longer than 255 bytes are ignored. This will have to be
|
||||||
|
Reference in New Issue
Block a user