mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-18 15:41:26 +02:00
[ticket/15403] Fix order of parameters in implode
PHPBB-15403
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user