http code

This commit is contained in:
gnieark 2016-06-12 22:01:47 +02:00
parent 5cc44a73e1
commit 8eae918d36

View File

@ -350,9 +350,7 @@ function get_IA_Response($iaUrl,$postParams){
);
$output= curl_exec($ch);
$httpCode = curl_getinfo($ch);
print_r($httpCode);
$httpCode = curl_getinfo($ch)['http_code'];
curl_close($ch);
if(! $arr = json_decode($output,TRUE)){
$arr=array();