From 7b552152b416d9f0c2e873f6f70c4d3cec575ea6 Mon Sep 17 00:00:00 2001 From: JoshyPHP Date: Fri, 8 May 2015 14:51:46 +0200 Subject: [ticket/13801] Updated comments for clarity PHPBB3-13801 --- phpBB/includes/message_parser.php | 1 + 1 file changed, 1 insertion(+) (limited to 'phpBB/includes/message_parser.php') diff --git a/phpBB/includes/message_parser.php b/phpBB/includes/message_parser.php index 3edc7fe1c6..496a7885f1 100644 --- a/phpBB/includes/message_parser.php +++ b/phpBB/includes/message_parser.php @@ -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); -- cgit v1.2.1