Skip to content

Commit 893ef07

Browse files
author
Natalia Momotenko
committed
Merge remote-tracking branch 'origin/develop' into UI
2 parents 6e5cb9e + a0ca082 commit 893ef07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/ImportExport/Model/Import.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ public function getOperationResultMessages($validationResult)
279279
*/
280280
public static function getAttributeType(\Magento\Eav\Model\Entity\Attribute\AbstractAttribute $attribute)
281281
{
282-
if ($attribute->usesSource()) {
282+
if ($attribute->usesSource() && in_array($attribute->getFrontendInput(), array('select', 'multiselect'))) {
283283
return $attribute->getFrontendInput() == 'multiselect' ? 'multiselect' : 'select';
284284
} elseif ($attribute->isStatic()) {
285285
return $attribute->getFrontendInput() == 'date' ? 'datetime' : 'varchar';

0 commit comments

Comments
 (0)