Skip to content

Commit 4aa2a04

Browse files
committed
ACP2E-3165: [Cloud] Getting error while checking the data in import data using CSV
- Fixed the static test failure.
1 parent 6482ae1 commit 4aa2a04

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/CustomerImportExport/Model/ResourceModel/Import/Customer

1 file changed

+1
-1
lines changed

app/code/Magento/CustomerImportExport/Model/ResourceModel/Import/Customer/Storage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ private function loadCustomersData(array $customerIdentifiers): void
107107
$customerWebsites = array_reduce($chunk, function ($customerWebsiteByEmail, $customer) {
108108
$customerWebsiteByEmail[$customer['email']][] = $customer['website_id'];
109109
return $customerWebsiteByEmail;
110-
});
110+
}, []);
111111
$chunkSelect = clone $select;
112112
$chunkSelect->where($customerTableId . '.email IN (?)', array_keys($customerWebsites));
113113
$customers = $collection->getConnection()->fetchAll($chunkSelect);

0 commit comments

Comments
 (0)