mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 15:13:50 +00:00
postal code: rename fields to avoid confusion in load fixtures
This commit is contained in:
@@ -193,7 +193,7 @@ class LoadPostalCodesCommand extends Command
|
||||
;
|
||||
|
||||
if (NULL != $row[3]){
|
||||
$postalCode->setRefId($row[3]);
|
||||
$postalCode->setRefPostalCodeId($row[3]);
|
||||
}
|
||||
|
||||
if (NULL != $row[4] & NULL != $row[5]){
|
||||
@@ -201,7 +201,7 @@ class LoadPostalCodesCommand extends Command
|
||||
}
|
||||
|
||||
if (NULL != $row[6]){
|
||||
$postalCode->setSource($row[6]);
|
||||
$postalCode->setPostalCodeSource($row[6]);
|
||||
}
|
||||
|
||||
$errors = $this->validator->validate($postalCode);
|
||||
|
Reference in New Issue
Block a user