mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/17480] Fix PHP fatal error in version check failure
PHPBB-17480
This commit is contained in:
parent
66650cb0e2
commit
7fd634b420
1 changed files with 1 additions and 1 deletions
|
@ -485,7 +485,7 @@ class acp_main
|
|||
'UPGRADE_INSTRUCTIONS' => !empty($upgrades_available) ? $user->lang('UPGRADE_INSTRUCTIONS', $upgrades_available['current'], $upgrades_available['announcement']) : false,
|
||||
));
|
||||
}
|
||||
catch (\RuntimeException $e)
|
||||
catch (\phpbb\exception\runtime_exception $e)
|
||||
{
|
||||
$message = call_user_func_array(array($user, 'lang'), array_merge(array($e->getMessage()), $e->get_parameters()));
|
||||
$template->assign_vars(array(
|
||||
|
|
Loading…
Add table
Reference in a new issue