Adresse RNVP correction
This commit is contained in:
parent
a840c40388
commit
bd4d632888
@ -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};
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user