Remove warning
This commit is contained in:
parent
1f59a0929f
commit
4204240625
@ -231,11 +231,13 @@ class Entreprise extends Scores_Ws_Server
|
||||
|
||||
$iBourse = new MBourse($siren, $db);
|
||||
$bourse = $iBourse->getInfosBourse($siren);
|
||||
$identite->Bourse->placeCotation = $bourse['placeCotation'];
|
||||
$identite->Bourse->nombreTitres = $bourse['nombreTitres'];
|
||||
$identite->Bourse->capitalisation = $bourse['close'] * $bourse['nombreTitres'];
|
||||
$identite->Bourse->derCoursDate = $bourse['date']; //@todo : date
|
||||
$identite->Bourse->derCoursCloture = $bourse['close']; //@todo : date
|
||||
if (count($bourse) > 0 ) {
|
||||
$identite->Bourse->placeCotation = $bourse['placeCotation'];
|
||||
$identite->Bourse->nombreTitres = $bourse['nombreTitres'];
|
||||
$identite->Bourse->capitalisation = $bourse['close'] * $bourse['nombreTitres'];
|
||||
$identite->Bourse->derCoursDate = $bourse['date']; //@todo : date
|
||||
$identite->Bourse->derCoursCloture = $bourse['close']; //@todo : date
|
||||
}
|
||||
|
||||
$tabAutreSiren = array();
|
||||
if (isset($entrep['AutreSiren'])) {
|
||||
|
Loading…
Reference in New Issue
Block a user