Skip to content

Commit cc0c184

Browse files
committed
Merge remote-tracking branch 'origin/MAGETWO-96440' into 2.3-develop-pr39
2 parents 786f365 + cb00556 commit cc0c184

File tree

1 file changed

+5
-1
lines changed
  • app/code/Magento/CatalogImportExport/Model/Export

1 file changed

+5
-1
lines changed

app/code/Magento/CatalogImportExport/Model/Export/Product.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1158,7 +1158,7 @@ protected function collectMultiselectValues($item, $attrCode, $storeId)
11581158
}
11591159

11601160
/**
1161-
* Check attribute is valid
1161+
* Check attribute is valid.
11621162
*
11631163
* @param string $code
11641164
* @param mixed $value
@@ -1175,6 +1175,10 @@ protected function isValidAttributeValue($code, $value)
11751175
$isValid = false;
11761176
}
11771177

1178+
if (is_array($value)) {
1179+
$isValid = false;
1180+
}
1181+
11781182
return $isValid;
11791183
}
11801184

0 commit comments

Comments
 (0)