Skip to content

Commit 8632e6d

Browse files
author
Roman Lytvynenko
committed
MC-19661: Export Products bug. I can't exclude attributes from CSV file.
1 parent 4630a9b commit 8632e6d

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -717,11 +717,11 @@ public function _getHeaderColumns()
717717
718718
* @return array
719719
*/
720-
private function getNonSystemAttributes()
720+
private function getNonSystemAttributes(): array
721721
{
722722
$attrKeys = [];
723723
foreach ($this->filterAttributeCollection($this->getAttributeCollection()) as $attribute) {
724-
$attrKeys []= $attribute->getAttributeCode();
724+
$attrKeys[] = $attribute->getAttributeCode();
725725
}
726726

727727
return array_diff($this->_getExportMainAttrCodes(), $this->_customHeadersMapping($attrKeys));

0 commit comments

Comments
 (0)