mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
Merge pull request #3192 from Elsensee/ticket/13393
[ticket/13393] Call user->lang function directly
This commit is contained in:
commit
ac8b07ddd9
1 changed files with 1 additions and 1 deletions
|
@ -259,7 +259,7 @@ class version_helper
|
|||
}
|
||||
catch (\RuntimeException $exception)
|
||||
{
|
||||
throw new \RuntimeException(call_user_func_array(array($this->user, 'lang'), $exception->getMessage()));
|
||||
throw new \RuntimeException($this->user->lang($exception->getMessage()));
|
||||
}
|
||||
$error_string = $this->file_downloader->get_error_string();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue