Merge branch 'master' into fixdataimportcp4digits

This commit is contained in:
Marc Ducobu 2022-03-17 18:37:00 +01:00
commit 730762d1c6

View File

@ -118,7 +118,7 @@ class LoadPostalCodesCommand extends Command
private function addPostalCode($row, OutputInterface $output)
{
if ($row[2] == 'FR' && strlen($row[0]) == 4) {
if($row[2] == 'FR' && strlen($row[0]) == 4) {
// CP in FRANCE are on 5 digit
// For CP starting with a zero, the starting zero can be remove if stored as number in a csv
// add a zero if CP from FR and on 4 digit