AdresseDom

This commit is contained in:
Michael RICOIS 2016-11-02 17:33:56 +01:00
parent aa93cc3276
commit b5aed95e7e

View File

@ -1717,7 +1717,7 @@ function AdresseDomData($siren, $nic, $value) {
$r = $result[0];
$c = new Metier_Insee_MInsee($iDb);
$dom = $c->infoAdresseDom($r['adr_num'], $r['adr_btq'], $r['adr_typeVoie'], $r['adr_libVoie'],
$r['adr_cp'], $r['adr_ville']);
trim(preg_replace('/ +/', ' ', $r['adr_comp'])), $r['adr_cp'], $r['adr_ville']);
$tabData['AdresseDomNb'] = $dom[0]['nbEntrep'];
}