mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-07 09:16:55 +02:00
[ticket/12536] Return empty array if stability unavailable
PHPBB3-12536
This commit is contained in:
@@ -225,7 +225,7 @@ class version_helper
|
||||
|
||||
if (!isset($info[$stability]))
|
||||
{
|
||||
throw new \RuntimeException($this->user->lang('VERSIONCHECK_FAIL'));
|
||||
return array();
|
||||
}
|
||||
|
||||
return $info[$stability];
|
||||
|
Reference in New Issue
Block a user