Etablissements, ajout database
This commit is contained in:
parent
fc99cca660
commit
1a3d6229e8
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user