diff options
author | JoshyPHP <s9e.dev@gmail.com> | 2015-03-06 11:11:07 +0100 |
---|---|---|
committer | JoshyPHP <s9e.dev@gmail.com> | 2015-04-02 19:16:03 +0200 |
commit | 89d87a99db403d7045406b869a92258e61122f67 (patch) | |
tree | 5b31e4d19a38a7477a6476d7dd5a6c29119cfe0b | |
parent | [ticket/11768] Renamed utils (diff) | |
download | phpbb-89d87a99db403d7045406b869a92258e61122f67.tar.gz phpbb-89d87a99db403d7045406b869a92258e61122f67.tar.bz2 phpbb-89d87a99db403d7045406b869a92258e61122f67.zip |
[ticket/11768] Replaced array access with call to $user->lang()
PHPBB3-11768
-rw-r--r-- | phpBB/phpbb/textformatter/s9e/parser.php | 2 |
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); } } |