We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6482ae1 commit 4aa2a04Copy full SHA for 4aa2a04
app/code/Magento/CustomerImportExport/Model/ResourceModel/Import/Customer/Storage.php
@@ -107,7 +107,7 @@ private function loadCustomersData(array $customerIdentifiers): void
107
$customerWebsites = array_reduce($chunk, function ($customerWebsiteByEmail, $customer) {
108
$customerWebsiteByEmail[$customer['email']][] = $customer['website_id'];
109
return $customerWebsiteByEmail;
110
- });
+ }, []);
111
$chunkSelect = clone $select;
112
$chunkSelect->where($customerTableId . '.email IN (?)', array_keys($customerWebsites));
113
$customers = $collection->getConnection()->fetchAll($chunkSelect);
0 commit comments