Skip to content
Snippets Groups Projects
Commit d395112f authored by Jared Hancock's avatar Jared Hancock
Browse files

i18n: Fixup searchable string tokenizing

parent 0939f628
Branches
Tags
No related merge requests found
......@@ -619,7 +619,10 @@ class Format {
$lang ?: ($cfg ? $cfg->getSystemLanguage() : 'en_US'))
) {
$tokenizer->setText($text);
$text = implode(' ', $tokenizer);
$tokens = array();
foreach ($tokenizer as $token)
$tokens[] = $token;
$text = implode(' ', $tokens);
}
}
else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment