Correction

This commit is contained in:
Michael RICOIS 2011-01-26 17:04:11 +00:00
parent afbbba2058
commit 6d5f27a560

View File

@ -7,9 +7,7 @@ require_once 'common/dates.php';
require_once 'scoresws/scoresws.php';
require_once 'scoresws/liens.php';
$reponse = scoresws_liens($siret, $siren, $idEntreprise);
$liens = $reponse->result;
FB::log($liens, 'liens');
$liens = scoresws_liens($siret, $siren, $idEntreprise);
$actionnaires = is_array($liens->actionnaires->item) ?
$liens->actionnaires->item : array($liens->actionnaires->item);