From 4258633ffb2abc0ca41847e2e9dc7cad5f1437c9 Mon Sep 17 00:00:00 2001 From: George Chailazopoulos Date: Wed, 17 Apr 2024 21:16:28 +0300 Subject: [PATCH] CURLOPT_RETURNTRANSFER was set twice CURLOPT_RETURNTRANSFER was set twice. Removed the second one. --- MangoPay/Libraries/HttpCurl.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/MangoPay/Libraries/HttpCurl.php b/MangoPay/Libraries/HttpCurl.php index 02c75e08..a6fdbb3c 100644 --- a/MangoPay/Libraries/HttpCurl.php +++ b/MangoPay/Libraries/HttpCurl.php @@ -44,8 +44,6 @@ private function BuildRequest(RestTool $restTool) curl_setopt($this->_curlHandle, CURLOPT_CONNECTTIMEOUT, $this->GetCurlConnectionTimeout()); curl_setopt($this->_curlHandle, CURLOPT_TIMEOUT, $this->GetCurlResponseTimeout()); - curl_setopt($this->_curlHandle, CURLOPT_RETURNTRANSFER, true); - if ($this->_root->Config->CertificatesFilePath == '') { curl_setopt($this->_curlHandle, CURLOPT_SSL_VERIFYPEER, false); } else {