Skip to content

Commit 576047b

Browse files
committed
MC-17485: Catalog Product Attribute Set Name
1 parent b5db021 commit 576047b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

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

81-
$collectionData = $collection->getData();
81+
$collectionData = $collection->getData() ?? [];
8282

8383
array_walk($collectionData, function (&$attribute) {
8484
$attribute['__disableTmpl'] = true;

0 commit comments

Comments
 (0)