Adresse RNVP correction

This commit is contained in:
Michael RICOIS 2016-03-15 14:38:50 +00:00
parent a840c40388
commit bd4d632888

View File

@ -1297,12 +1297,13 @@ function AdresseNormaliseData($siren, $nic, $values = false)
$infoRNVP = $rnvp->format();
} catch (Exception $e) {}
foreach($item as AdresseNormaliseEntete($values)) {
$head = AdresseNormaliseEntete('');
foreach($item as $head) {
$output[$item] = '';
}
if ($infoRNVP !== null) {
foreach ($item as AdresseNormaliseEntete($values)) {
foreach ($item as $head) {
$output[$item] = $infoRNVP->{$item};
}
}