mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-04 07:47:34 +02:00
[ticket/13801] Removed user dependency from text_formatter.s9e.parser
PHPBB3-13801
This commit is contained in:
@@ -1254,6 +1254,10 @@ class parse_message extends bbcode_firstpass
|
||||
$errors = $parser->get_errors();
|
||||
if ($errors)
|
||||
{
|
||||
foreach ($errors as $i => $args)
|
||||
{
|
||||
$errors[$i] = call_user_func_array(array($user, 'lang'), $args);
|
||||
}
|
||||
$this->warn_msg = array_merge($this->warn_msg, $errors);
|
||||
|
||||
return (!$update_this_message) ? $return_message : $this->warn_msg;
|
||||
|
Reference in New Issue
Block a user