Skip to content

Commit 558fccb

Browse files
author
Bohdan Korablov
committed
MAGETWO-71922: Error in Import Customers Main File with custom attribute.
1 parent 6f59c55 commit 558fccb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ abstract class AbstractEav extends \Magento\ImportExport\Model\Export\AbstractEn
3333
*
3434
* @var array
3535
*/
36-
protected $_attributeTypes = [];
36+
protected $attributeTypes = [];
3737

3838
/**
3939
* Entity type id.
@@ -105,7 +105,7 @@ protected function _initAttributeTypes()
105105
{
106106
/** @var $attribute AbstractAttribute */
107107
foreach ($this->getAttributeCollection() as $attribute) {
108-
$this->_attributeTypes[$attribute->getAttributeCode()] = $attribute->getFrontendInput();
108+
$this->attributeTypes[$attribute->getAttributeCode()] = $attribute->getFrontendInput();
109109
}
110110
return $this;
111111
}
@@ -291,8 +291,8 @@ protected function _addAttributeValuesToRow(\Magento\Framework\Model\AbstractMod
291291
*/
292292
private function isMultiselect($attributeCode)
293293
{
294-
return isset($this->_attributeTypes[$attributeCode])
295-
&& $this->_attributeTypes[$attributeCode] === 'multiselect';
294+
return isset($this->attributeTypes[$attributeCode])
295+
&& $this->attributeTypes[$attributeCode] === 'multiselect';
296296
}
297297

298298
/**

0 commit comments

Comments
 (0)