Skip to content

Commit

Permalink
MDVA-57: The Security Bundle Jan 2016 Merchant Beta
Browse files Browse the repository at this point in the history
  • Loading branch information
isitnikov committed Jan 17, 2016
1 parent dcc07b6 commit 48b5df7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public function write($method, $url, $httpVer = '1.1', $headers = [], $params =
];
if ($method == CurlInterface::POST) {
$options[CURLOPT_POST] = true;
$options[CURLOPT_POSTFIELDS] = is_array($params) ? http_build_query($params) : $params;
$options[CURLOPT_POSTFIELDS] = $params;
} elseif ($method == CurlInterface::GET) {
$options[CURLOPT_HTTPGET] = true;
}
Expand Down

0 comments on commit 48b5df7

Please sign in to comment.