diff options
author | Kilian <kilian@mirdan.de> | 2015-09-26 12:56:06 +0200 |
---|---|---|
committer | Kilian <kilian@mirdan.de> | 2015-09-29 00:08:34 +0200 |
commit | 49f8192ba264651ec2dcfc2b0e1b807a7e2b1023 (patch) | |
tree | ba12c43babfd31f2af43f4ca63de3767cddc112c /phpBB/includes/acp/acp_extensions.php | |
parent | 30279347acf62e6e39eea7bf56b46e48e2170ddc (diff) | |
download | forums-49f8192ba264651ec2dcfc2b0e1b807a7e2b1023.tar forums-49f8192ba264651ec2dcfc2b0e1b807a7e2b1023.tar.gz forums-49f8192ba264651ec2dcfc2b0e1b807a7e2b1023.tar.bz2 forums-49f8192ba264651ec2dcfc2b0e1b807a7e2b1023.tar.xz forums-49f8192ba264651ec2dcfc2b0e1b807a7e2b1023.zip |
[ticket/12618] Minor fix: Don't cast bool to int anymore
PHPBB3-12618
Diffstat (limited to 'phpBB/includes/acp/acp_extensions.php')
-rw-r--r-- | phpBB/includes/acp/acp_extensions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/acp/acp_extensions.php b/phpBB/includes/acp/acp_extensions.php index 1f88be57e0..c8b905e9f4 100644 --- a/phpBB/includes/acp/acp_extensions.php +++ b/phpBB/includes/acp/acp_extensions.php @@ -537,7 +537,7 @@ class acp_extensions $version_helper = new \phpbb\version_helper($this->cache, $this->config, new \phpbb\file_downloader(), $this->user); $version_helper->set_current_version($meta['version']); - $version_helper->set_file_location($version_check['host'], $version_check['directory'], $version_check['filename'], isset($version_check['ssl']) ? (int) $version_check['ssl'] : false); + $version_helper->set_file_location($version_check['host'], $version_check['directory'], $version_check['filename'], isset($version_check['ssl']) ? $version_check['ssl'] : false); $version_helper->force_stability($this->config['extension_force_unstable'] ? 'unstable' : null); return $updates = $version_helper->get_suggested_updates($force_update, $force_cache); |