|
@@ -75,7 +75,7 @@ |
|
|
block discarded – undo |
|
75
|
75
|
curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true); |
|
76
|
76
|
curl_setopt($curl, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); |
|
77
|
77
|
curl_setopt($curl, CURLOPT_CUSTOMREQUEST, 'POST'); |
|
78
|
|
- curl_setopt($curl, CURLOPT_POSTFIELDS, ($json ? json_encode((array)$this->data) : (array) $this->data)); |
|
|
78
|
+ curl_setopt($curl, CURLOPT_POSTFIELDS, ($json ? json_encode((array) $this->data) : (array) $this->data)); |
|
79
|
79
|
curl_setopt($curl, CURLOPT_HTTPHEADER, $this->header); |
|
80
|
80
|
$this->callback = json_decode(curl_exec($curl)); |
|
81
|
81
|
curl_close($curl); |
Please login to merge, or discard this patch.