1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-04 07:47:34 +02:00

[ticket/13801] Updated comments for clarity

PHPBB3-13801
This commit is contained in:
JoshyPHP
2015-05-08 14:51:46 +02:00
parent deadc06652
commit 7b552152b4
3 changed files with 4 additions and 2 deletions

View File

@@ -1256,6 +1256,7 @@ class parse_message extends bbcode_firstpass
{
foreach ($errors as $i => $args)
{
// Translate each error with $user->lang()
$errors[$i] = call_user_func_array(array($user, 'lang'), $args);
}
$this->warn_msg = array_merge($this->warn_msg, $errors);