mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-24 12:03:21 +01:00
[ticket/12536] Return empty array if stability unavailable
PHPBB3-12536
This commit is contained in:
parent
36d5fff1c6
commit
3dddf1f4bf
@ -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…
x
Reference in New Issue
Block a user