1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-24 20:13:22 +01:00

[ticket/12536] Return empty array if stability unavailable

PHPBB3-12536
This commit is contained in:
Tristan Darricau 2014-05-13 12:48:08 +02:00
parent 36d5fff1c6
commit 3dddf1f4bf

View File

@ -225,7 +225,7 @@ class version_helper
if (!isset($info[$stability]))
{
throw new \RuntimeException($this->user->lang('VERSIONCHECK_FAIL'));
return array();
}
return $info[$stability];