aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/textformatter/s9e
diff options
context:
space:
mode:
authorJoshyPHP <s9e.dev@gmail.com>2015-03-06 11:11:07 +0100
committerJoshyPHP <s9e.dev@gmail.com>2015-04-02 19:16:03 +0200
commit89d87a99db403d7045406b869a92258e61122f67 (patch)
tree5b31e4d19a38a7477a6476d7dd5a6c29119cfe0b /phpBB/phpbb/textformatter/s9e
parent20a1646fc6336635cee89426e3a60bb22cb138de (diff)
downloadforums-89d87a99db403d7045406b869a92258e61122f67.tar
forums-89d87a99db403d7045406b869a92258e61122f67.tar.gz
forums-89d87a99db403d7045406b869a92258e61122f67.tar.bz2
forums-89d87a99db403d7045406b869a92258e61122f67.tar.xz
forums-89d87a99db403d7045406b869a92258e61122f67.zip
[ticket/11768] Replaced array access with call to $user->lang()
PHPBB3-11768
Diffstat (limited to 'phpBB/phpbb/textformatter/s9e')
-rw-r--r--phpBB/phpbb/textformatter/s9e/parser.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/textformatter/s9e/parser.php b/phpBB/phpbb/textformatter/s9e/parser.php
index 4775175f73..f3e437b163 100644
--- a/phpBB/phpbb/textformatter/s9e/parser.php
+++ b/phpBB/phpbb/textformatter/s9e/parser.php
@@ -184,7 +184,7 @@ class parser implements \phpbb\textformatter\parser_interface
}
else if ($msg === 'UNABLE_GET_IMAGE_SIZE')
{
- $errors[] = $this->user->lang[$msg];
+ $errors[] = $this->user->lang($msg);
}
}