mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-17 16:58:51 +00:00
[ticket/12536] Return empty array if stability unavailable
PHPBB3-12536
This commit is contained in:
parent
36d5fff1c6
commit
3dddf1f4bf
1 changed files with 1 additions and 1 deletions
|
@ -225,7 +225,7 @@ class version_helper
|
|||
|
||||
if (!isset($info[$stability]))
|
||||
{
|
||||
throw new \RuntimeException($this->user->lang('VERSIONCHECK_FAIL'));
|
||||
return array();
|
||||
}
|
||||
|
||||
return $info[$stability];
|
||||
|
|
Loading…
Add table
Reference in a new issue