mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-05 16:27:38 +02:00
Fix Bug #52055 - php notices if phpbb.com is not reachable
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10195 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -39,6 +39,11 @@ class acp_update
|
|||||||
|
|
||||||
$info = obtain_latest_version_info(request_var('versioncheck_force', false), true);
|
$info = obtain_latest_version_info(request_var('versioncheck_force', false), true);
|
||||||
|
|
||||||
|
if ($info === false)
|
||||||
|
{
|
||||||
|
trigger_error('VERSIONCHECK_FAIL', E_USER_WARNING);
|
||||||
|
}
|
||||||
|
|
||||||
$info = explode("\n", $info);
|
$info = explode("\n", $info);
|
||||||
$latest_version = trim($info[0]);
|
$latest_version = trim($info[0]);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user