Debug
This commit is contained in:
parent
1c1ee832bc
commit
deb045b9b7
@ -809,15 +809,13 @@ function situationJuridiqueData($siren, $nic, $values = false)
|
||||
$tabData['situationDernEven']='';
|
||||
foreach ($tabTmp as $sit) {
|
||||
$iInsee = new MInsee();
|
||||
echo $siren;
|
||||
$tmp = $iInsee->getAnnoncesLegales($siren, 0, $sit);
|
||||
print_r($tmp);
|
||||
if (count($tmp)>0) {
|
||||
$tmp=$tmp[0];
|
||||
$tabData['situationJuridique']=$sit;
|
||||
$tabData['situationParution']=$tmp['DateParution'];
|
||||
$tabData['situationDernCode']=$tmp['CodeEven'];
|
||||
$tabData['situationDernEven']=preg_replace('/ +/', ' ', strtr($tmp['LibEven'],array("\r"=>' ',"\n"=>' ',"\t"=>' ',','=>' ',';'=>' ','"'=>' ',"'"=>' ')));
|
||||
$tabData['situationDernCode']=$tmp[0]['CodeEven'];
|
||||
$tabData['situationDernEven']=preg_replace('/ +/', ' ', strtr($tmp[0]['LibEven'],array("\r"=>' ',"\n"=>' ',"\t"=>' ',','=>' ',';'=>' ','"'=>' ',"'"=>' ')));
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user