File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
app/code/Magento/CustomerImportExport/Model/Import Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -423,7 +423,7 @@ protected function _prepareDataForUpdate(array $rowData)
423
423
// create
424
424
$ entityRow ['group_id ' ] = empty ($ rowData ['group_id ' ]) ? self ::DEFAULT_GROUP_ID : $ rowData ['group_id ' ];
425
425
$ entityRow ['store_id ' ] = empty ($ rowData [self ::COLUMN_STORE ])
426
- ? 0 : $ this ->_storeCodeToId [$ rowData [self ::COLUMN_STORE ]];
426
+ ? \ Magento \ Store \ Model \Store:: DEFAULT_STORE_ID : $ this ->_storeCodeToId [$ rowData [self ::COLUMN_STORE ]];
427
427
$ entityRow ['created_at ' ] = $ createdAt ->format (\Magento \Framework \Stdlib \DateTime::DATETIME_PHP_FORMAT );
428
428
$ entityRow ['updated_at ' ] = $ now ->format (\Magento \Framework \Stdlib \DateTime::DATETIME_PHP_FORMAT );
429
429
$ entityRow ['website_id ' ] = $ this ->_websiteCodeToId [$ rowData [self ::COLUMN_WEBSITE ]];
You can’t perform that action at this time.
0 commit comments