Skip to content

Commit

Permalink
MC-14849: \Magento\Paypal\Model\Api\Nvp::callSetExpressCheckout retur…
Browse files Browse the repository at this point in the history
…ns empty response
  • Loading branch information
irenelagno committed Feb 19, 2019
1 parent 5276b27 commit 55b8bf8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/internal/Magento/Framework/HTTP/Adapter/Curl.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,6 @@ public function write($method, $url, $http_ver = '1.1', $headers = [], $body = '

// set url to post to
curl_setopt($this->_getResource(), CURLOPT_URL, $url);
curl_setopt($this->_getResource(), CURLOPT_HTTP_VERSION, $http_ver);
curl_setopt($this->_getResource(), CURLOPT_RETURNTRANSFER, true);
if ($method == \Zend_Http_Client::POST) {
curl_setopt($this->_getResource(), CURLOPT_POST, true);
Expand Down

0 comments on commit 55b8bf8

Please sign in to comment.