Remove warning

This commit is contained in:
Michael RICOIS 2015-06-01 08:21:46 +00:00
parent 1f59a0929f
commit 4204240625

View File

@ -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'])) {