Debug
This commit is contained in:
parent
c91db4ab11
commit
3604efd03f
@ -812,11 +812,10 @@ function situationJuridiqueData($siren, $nic, $values = false)
|
||||
$tmp = $iInsee->getAnnoncesLegales($siren, 0, $sit);
|
||||
if (count($tmp)>0) {
|
||||
$tmp=$tmp[0];
|
||||
print_r($tmp);
|
||||
$tabData['situationJuridique']=$sit;
|
||||
$tabData['situationParution']=$tmp['DateParution'];
|
||||
$tabData['situationDernCode']=$tmp[0]['CodeEven'];
|
||||
$tabData['situationDernEven']=preg_replace('/ +/', ' ', strtr($tmp[0]['LibEven'],array("\r"=>' ',"\n"=>' ',"\t"=>' ',','=>' ',';'=>' ','"'=>' ',"'"=>' ')));
|
||||
$tabData['situationDernCode']=$tmp['evenements'][0]['CodeEven'];
|
||||
$tabData['situationDernEven']=preg_replace('/ +/', ' ', strtr($tmp['evenements'][0]['LibEven'],array("\r"=>' ',"\n"=>' ',"\t"=>' ',','=>' ',';'=>' ','"'=>' ',"'"=>' ')));
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user