[ticket/15403] Fix order of parameters in implode

PHPBB-15403
This commit is contained in:
Ruben Calvo 2024-07-09 00:24:47 +02:00
parent 02321c412c
commit 68436c4a96
No known key found for this signature in database

View file

@ -398,7 +398,7 @@ function get_context(string $text, array $words, int $length = 400)
// Get the last fragment
$fragments[] = $fragment;
$output = htmlentities(implode($fragments, ''));
$output = htmlentities(implode('', $fragments));
}
return $output;