|
@@ -171,10 +171,10 @@ |
|
|
block discarded – undo |
|
171
|
171
|
{ |
|
172
|
172
|
$url = $this->createUrlByContext($context); |
|
173
|
173
|
|
|
174
|
|
- if (is_string($post_data)){ |
|
|
174
|
+ if (is_string($post_data)) { |
|
175
|
175
|
$this->log->addInfo("Curl $custom_request: $url JsonData=".$post_data); |
|
176
|
176
|
} elseif (is_array($post_data)) { |
|
177
|
|
- $this->log->addInfo("Curl $custom_request: $url JsonData=" . json_encode($post_data, JSON_UNESCAPED_UNICODE)); |
|
|
177
|
+ $this->log->addInfo("Curl $custom_request: $url JsonData=".json_encode($post_data, JSON_UNESCAPED_UNICODE)); |
|
178
|
178
|
} |
|
179
|
179
|
|
|
180
|
180
|
$ch = curl_init(); |
Please login to merge, or discard this patch.