fix php
This commit is contained in:
parent
2471ef0103
commit
b1f06490a9
|
@ -348,7 +348,7 @@ function get_IA_Response($iaUrl,$postParams){
|
|||
'Content-Type: application/json',
|
||||
'Content-Length: ' . strlen($data_string))
|
||||
);
|
||||
//$httpCode = curl_getinfo($ch)['http_code'];
|
||||
$httpCode = curl_getinfo($ch)['http_code'];
|
||||
$output= curl_exec($ch);
|
||||
curl_close($ch);
|
||||
if(! $arr = json_decode($output,TRUE)){
|
||||
|
@ -357,7 +357,7 @@ function get_IA_Response($iaUrl,$postParams){
|
|||
|
||||
return array(
|
||||
'messageSend' => $data_string,
|
||||
'httpStatus' => curl_getinfo($ch)['http_code'],
|
||||
'httpStatus' => $httpCode,
|
||||
'response' => $output,
|
||||
'responseArr' => $arr
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue
Block a user