1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-24 20:13:22 +01:00

[ticket/11768] Replaced array access with call to $user->lang()

PHPBB3-11768
This commit is contained in:
JoshyPHP 2015-03-06 11:11:07 +01:00
parent 20a1646fc6
commit 89d87a99db

View File

@ -184,7 +184,7 @@ class parser implements \phpbb\textformatter\parser_interface
} }
else if ($msg === 'UNABLE_GET_IMAGE_SIZE') else if ($msg === 'UNABLE_GET_IMAGE_SIZE')
{ {
$errors[] = $this->user->lang[$msg]; $errors[] = $this->user->lang($msg);
} }
} }