mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/15403] Fix order of parameters in implode
PHPBB-15403
This commit is contained in:
parent
02321c412c
commit
68436c4a96
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue