Skip to content

Commit c88e7d4

Browse files
committed
ACP2E-3165: [Cloud] Getting error while checking the data in import data using CSV
- Fixed the issue.
1 parent 93d50f8 commit c88e7d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/CustomerImportExport/Model/Import/AbstractCustomer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ protected function _getCustomerId($email, $websiteCode)
184184
{
185185
$email = strtolower(trim($email));
186186

187-
if ($this->configShare->isGlobalScope()) {
187+
if ($this->configShare->isGlobalScope() && $this->_customerStorage->getCustomerIdByEmail($email)) {
188188
return $this->_customerStorage->getCustomerIdByEmail($email);
189189
}
190190

0 commit comments

Comments
 (0)