diff options
author | Marc Alexander <admin@m-a-styles.de> | 2016-02-08 13:26:19 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2016-02-08 13:26:19 +0100 |
commit | 8cf086ef9b200f0b59348c0f0d4946f9ebc4adae (patch) | |
tree | f5e5ddfcfaf16381acbb1326b17b3fb0d1dfec90 /phpBB/phpbb | |
parent | fd9c05309d186332728b533467aaecad5c543c52 (diff) | |
download | forums-8cf086ef9b200f0b59348c0f0d4946f9ebc4adae.tar forums-8cf086ef9b200f0b59348c0f0d4946f9ebc4adae.tar.gz forums-8cf086ef9b200f0b59348c0f0d4946f9ebc4adae.tar.bz2 forums-8cf086ef9b200f0b59348c0f0d4946f9ebc4adae.tar.xz forums-8cf086ef9b200f0b59348c0f0d4946f9ebc4adae.zip |
[ticket/14448] Correctly pass verify setting if available
PHPBB3-14448
Diffstat (limited to 'phpBB/phpbb')
-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); |