Correction result getListeEvenements

This commit is contained in:
Michael RICOIS 2011-01-25 09:46:16 +00:00
parent eac2dbff93
commit 90ee9f050a

View File

@ -393,9 +393,9 @@ function scoresws_evenements($siret, $siren, $idEntreprise)
} else {
$return = false;
$ws = new WsScores();
$reponse = $ws->getListeEvenements($siren, substr($siret,9));
$reponse = $ws->getListeEvenements($siren);
if ($reponse!==false){
$return = $reponse;
$return = $reponse->result;
cache_delete();
cache_add('evens', $return);
}