Merge branch 'support/2.7' into develop

This commit is contained in:
odain
2020-09-07 16:48:15 +02:00
24 changed files with 543 additions and 657 deletions

View File

@@ -576,7 +576,13 @@ try
else
{
// Split the text on the blanks and treat this as a search for <word1> AND <word2> AND <word3>
$aFullTextNeedles = explode(' ', $sFullText);
$aExplodedFullTextNeedles = explode(' ', $sFullText);
$aFullTextNeedles = [];
foreach ($aExplodedFullTextNeedles as $sValue) {
if (strlen($sValue) > 0) {
$aFullTextNeedles[] = $sValue;
}
}
}
// Check the needle length