Skip to content

Commit b457120

Browse files
MAGETWO-92693: Some improvements on product create|edit page in admin area
1 parent 995e192 commit b457120

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Catalog/Controller/Adminhtml/Product

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/Controller/Adminhtml/Product/Builder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ private function createEmptyProduct($typeId, $attributeSetId, $storeId): Product
131131
$product->setStoreId($storeId);
132132
}
133133

134-
if ($attributeSetId !== null) {
134+
if ($attributeSetId) {
135135
$product->setAttributeSetId($attributeSetId);
136136
}
137137

0 commit comments

Comments
 (0)