This commit is contained in:
Michael RICOIS 2013-01-29 17:00:20 +00:00
parent c91db4ab11
commit 3604efd03f

View File

@ -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;
}
}