This commit is contained in:
Michael RICOIS 2013-01-29 16:37:38 +00:00
parent 61c3f4f358
commit 7b271d0ac3

View File

@ -809,9 +809,8 @@ function situationJuridiqueData($siren, $nic, $values = false)
$tabData['situationDernEven']=''; $tabData['situationDernEven']='';
foreach ($tabTmp as $sit) { foreach ($tabTmp as $sit) {
$iInsee = new MInsee(); $iInsee = new MInsee();
echo 'Avant'."\n"; echo $siren;
//$tmp = $iInsee->getAnnoncesLegales($siren, 0, $sit); $tmp = $iInsee->getAnnoncesLegales($siren, 0, $sit);
echo 'Après'."\n";
print_r($tmp); print_r($tmp);
if (count($tmp)>0) { if (count($tmp)>0) {
$tmp=$tmp[0]; $tmp=$tmp[0];