File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
app/code/Magento/CustomerImportExport/Model/Import Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -521,8 +521,10 @@ protected function _importData()
521
521
);
522
522
} elseif ($ this ->getBehavior ($ rowData ) == \Magento \ImportExport \Model \Import::BEHAVIOR_ADD_UPDATE ) {
523
523
$ processedData = $ this ->_prepareDataForUpdate ($ rowData );
524
+ // phpcs:disable Magento2.Performance.ForeachArrayMerge
524
525
$ entitiesToCreate = array_merge ($ entitiesToCreate , $ processedData [self ::ENTITIES_TO_CREATE_KEY ]);
525
526
$ entitiesToUpdate = array_merge ($ entitiesToUpdate , $ processedData [self ::ENTITIES_TO_UPDATE_KEY ]);
527
+ // phpcs:enable
526
528
foreach ($ processedData [self ::ATTRIBUTES_TO_SAVE_KEY ] as $ tableName => $ customerAttributes ) {
527
529
if (!isset ($ attributesToSave [$ tableName ])) {
528
530
$ attributesToSave [$ tableName ] = [];
You can’t perform that action at this time.
0 commit comments