diff options
author | 2016-02-08 13:26:19 +0100 | |
---|---|---|
committer | 2016-02-08 13:26:19 +0100 | |
commit | 8cf086ef9b200f0b59348c0f0d4946f9ebc4adae (patch) | |
tree | f5e5ddfcfaf16381acbb1326b17b3fb0d1dfec90 /phpBB/phpbb/files | |
parent | [ticket/14448] Let user decide if remote upload certs should be checked (diff) | |
download | phpbb-8cf086ef9b200f0b59348c0f0d4946f9ebc4adae.tar.gz phpbb-8cf086ef9b200f0b59348c0f0d4946f9ebc4adae.tar.bz2 phpbb-8cf086ef9b200f0b59348c0f0d4946f9ebc4adae.zip |
[ticket/14448] Correctly pass verify setting if available
PHPBB3-14448
Diffstat (limited to 'phpBB/phpbb/files')
-rw-r--r-- | phpBB/phpbb/files/types/remote.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/files/types/remote.php b/phpBB/phpbb/files/types/remote.php index 7e5157baa9..1fdba0ca32 100644 --- a/phpBB/phpbb/files/types/remote.php +++ b/phpBB/phpbb/files/types/remote.php @@ -105,7 +105,7 @@ class remote extends base $guzzle_options = [ 'timeout' => $this->upload->upload_timeout, 'connect_timeout' => $this->upload->upload_timeout, - 'verify' => !empty($this->config['remote_upload_verify']), + 'verify' => !empty($this->config['remote_upload_verify']) ? (bool) $this->config['remote_upload_verify'] : false, ]; $client = new \GuzzleHttp\Client($guzzle_options); |