mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-18 23:51:49 +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
|
// Get the last fragment
|
||||||
$fragments[] = $fragment;
|
$fragments[] = $fragment;
|
||||||
|
|
||||||
$output = htmlentities(implode($fragments, ''));
|
$output = htmlentities(implode('', $fragments));
|
||||||
}
|
}
|
||||||
|
|
||||||
return $output;
|
return $output;
|
||||||
|
Reference in New Issue
Block a user