Fixed switch case logical problem.

This commit is contained in:
İrfan Evrens
2015-06-26 09:47:54 +03:00
parent def426fd23
commit 70fe1941ad

View File

@@ -93,6 +93,8 @@ class PayPalHttpConnection
switch ($this->httpConfig->getMethod()) {
case 'POST':
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
break;
case 'PUT':
case 'PATCH':
case 'DELETE':