aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/message_parser.php
diff options
context:
space:
mode:
authorJoshyPHP <s9e.dev@gmail.com>2015-05-08 14:51:46 +0200
committerJoshyPHP <s9e.dev@gmail.com>2015-05-18 02:58:33 +0200
commit7b552152b416d9f0c2e873f6f70c4d3cec575ea6 (patch)
tree241e8b8e7f143aed43e01d567aca4a2169eda781 /phpBB/includes/message_parser.php
parentdeadc0665298f18a937fc959da449e9098873c0b (diff)
downloadforums-7b552152b416d9f0c2e873f6f70c4d3cec575ea6.tar
forums-7b552152b416d9f0c2e873f6f70c4d3cec575ea6.tar.gz
forums-7b552152b416d9f0c2e873f6f70c4d3cec575ea6.tar.bz2
forums-7b552152b416d9f0c2e873f6f70c4d3cec575ea6.tar.xz
forums-7b552152b416d9f0c2e873f6f70c4d3cec575ea6.zip
[ticket/13801] Updated comments for clarity
PHPBB3-13801
Diffstat (limited to 'phpBB/includes/message_parser.php')
-rw-r--r--phpBB/includes/message_parser.php1
1 files changed, 1 insertions, 0 deletions
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);