aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2014-05-13 12:48:08 +0200
committerTristan Darricau <github@nicofuma.fr>2014-05-13 12:48:08 +0200
commit3dddf1f4bf84d7a97ee47623a868483079ed643e (patch)
tree8f65eb5901d2b6afefddb1ef9b78dda56995dda4
parent36d5fff1c6cbacbda4b4c623d8b9d909f214167a (diff)
downloadforums-3dddf1f4bf84d7a97ee47623a868483079ed643e.tar
forums-3dddf1f4bf84d7a97ee47623a868483079ed643e.tar.gz
forums-3dddf1f4bf84d7a97ee47623a868483079ed643e.tar.bz2
forums-3dddf1f4bf84d7a97ee47623a868483079ed643e.tar.xz
forums-3dddf1f4bf84d7a97ee47623a868483079ed643e.zip
[ticket/12536] Return empty array if stability unavailable
PHPBB3-12536
-rw-r--r--phpBB/phpbb/version_helper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/version_helper.php b/phpBB/phpbb/version_helper.php
index 7d59b5cd3a..4c779c1a5a 100644
--- a/phpBB/phpbb/version_helper.php
+++ b/phpBB/phpbb/version_helper.php
@@ -225,7 +225,7 @@ class version_helper
if (!isset($info[$stability]))
{
- throw new \RuntimeException($this->user->lang('VERSIONCHECK_FAIL'));
+ return array();
}
return $info[$stability];