Skip to content

Commit 6efdeab

Browse files
author
Oleksandr Gorkun
committed
Merge branch '2.2.10-develop' of https://github.com/magento/magento2ce into MAGETWO-99413
2 parents 807a06d + 2c76aae commit 6efdeab

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/AttributeSet.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,13 @@ public function getOptions()
7878
\Magento\Eav\Model\ResourceModel\Entity\Attribute\Set\Collection::SORT_ORDER_ASC
7979
);
8080

81-
return $collection->getData();
81+
$collectionData = $collection->getData() ?? [];
82+
83+
array_walk($collectionData, function (&$attribute) {
84+
$attribute['__disableTmpl'] = true;
85+
});
86+
87+
return $collectionData;
8288
}
8389

8490
/**

0 commit comments

Comments
 (0)