mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-05 08:17:47 +02:00
Merge remote-tracking branch 'remotes/upstream/develop-olympus' into develop
# By David King # Via David King (1) and Nathan Guse (1) * remotes/upstream/develop-olympus: [ticket/11551] Fix error in system tab if get_remote_file returns empty string
This commit is contained in:
@@ -3088,7 +3088,7 @@ function obtain_latest_version_info($force_update = false, $warn_fail = false, $
|
||||
$info = get_remote_file('version.phpbb.com', '/phpbb',
|
||||
((defined('PHPBB_QA')) ? '30x_qa.txt' : '30x.txt'), $errstr, $errno);
|
||||
|
||||
if ($info === false)
|
||||
if (empty($info))
|
||||
{
|
||||
$cache->destroy('versioncheck');
|
||||
if ($warn_fail)
|
||||
|
Reference in New Issue
Block a user