Skip to content

Commit 299d5cc

Browse files
committed
ACP2E-1736: Customer Addresses Export is not working with empty multi-area text field
implemented solution
1 parent 4a41ec4 commit 299d5cc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/code/Magento/ImportExport/Model/Export/Entity/AbstractEav.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,8 @@ protected function _addAttributeValuesToRow(\Magento\Framework\Model\AbstractMod
286286

287287
if ($this->isMultiselect($attributeCode)) {
288288
$values = [];
289-
$attributeValue = explode(Import::DEFAULT_GLOBAL_MULTI_VALUE_SEPARATOR, $attributeValue);
289+
$attributeValue =
290+
$attributeValue ? explode(Import::DEFAULT_GLOBAL_MULTI_VALUE_SEPARATOR, $attributeValue) : [];
290291
foreach ($attributeValue as $value) {
291292
$values[] = $this->getAttributeValueById($attributeCode, $value);
292293
}

0 commit comments

Comments
 (0)