Correction result getListeEvenements
This commit is contained in:
parent
eac2dbff93
commit
90ee9f050a
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user