From 8cf086ef9b200f0b59348c0f0d4946f9ebc4adae Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Mon, 8 Feb 2016 13:26:19 +0100 Subject: [PATCH] [ticket/14448] Correctly pass verify setting if available PHPBB3-14448 --- phpBB/phpbb/files/types/remote.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);