File tree Expand file tree Collapse file tree 1 file changed +5
-11
lines changed
app/code/Magento/CustomerImportExport/Model/Import Expand file tree Collapse file tree 1 file changed +5
-11
lines changed Original file line number Diff line number Diff line change @@ -525,10 +525,8 @@ protected function _importData()
525
525
if (!isset ($ attributesToSave [$ tableName ])) {
526
526
$ attributesToSave [$ tableName ] = [];
527
527
}
528
- $ attributesToSave [$ tableName ] = array_diff_key (
529
- $ attributesToSave [$ tableName ],
530
- $ customerAttributes
531
- ) + $ customerAttributes ;
528
+ $ attributes = array_diff_key ($ attributesToSave [$ tableName ], $ customerAttributes );
529
+ $ attributesToSave [$ tableName ] = $ attributes + $ customerAttributes ;
532
530
}
533
531
}
534
532
}
@@ -584,13 +582,9 @@ protected function _validateRowForUpdate(array $rowData, $rowNumber)
584
582
$ this ->addRowError (self ::ERROR_INVALID_STORE , $ rowNumber );
585
583
}
586
584
// check password
587
- if (isset (
588
- $ rowData ['password ' ]
589
- ) && strlen (
590
- $ rowData ['password ' ]
591
- ) && $ this ->string ->strlen (
592
- $ rowData ['password ' ]
593
- ) < self ::MIN_PASSWORD_LENGTH
585
+ if (isset ($ rowData ['password ' ])
586
+ && strlen ($ rowData ['password ' ])
587
+ && $ this ->string ->strlen ($ rowData ['password ' ]) < self ::MIN_PASSWORD_LENGTH
594
588
) {
595
589
$ this ->addRowError (self ::ERROR_PASSWORD_LENGTH , $ rowNumber );
596
590
}
You can’t perform that action at this time.
0 commit comments