Merge from 1.2

This commit is contained in:
Michael RICOIS 2016-02-18 09:35:16 +00:00
commit b0bc2c044a

View File

@ -1994,8 +1994,10 @@ function etablissementsEntete()
}
function etablissementsMultiple($siren, $nic, $values = false)
{
$mInsee = new MInsee();
global $iDb;
$mInsee = new MInsee($iDb);
$result = $mInsee->getEtablissements($siren);
$tabData = array();
if (count($result) > 0) {
foreach ($result as $r) {
$tabData[] = array(