Skip to content

Commit 61a2c13

Browse files
author
Serhiy Shkolyarenko
committed
MAGETWO-32010: Catalog product model and tables cleaning
fix for configurable product
1 parent eb12f5e commit 61a2c13

File tree

1 file changed

+2
-0
lines changed
  • app/code/Magento/Catalog/Controller/Adminhtml/Product/Attribute

1 file changed

+2
-0
lines changed

app/code/Magento/Catalog/Controller/Adminhtml/Product/Attribute/Edit.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ public function execute()
4545
/** @var $model \Magento\Catalog\Model\Resource\Eav\Attribute */
4646
$model = $this->_objectManager->create(
4747
'Magento\Catalog\Model\Resource\Eav\Attribute'
48+
)->setEntityTypeId(
49+
$this->_entityTypeId
4850
);
4951
if ($id) {
5052
$model->load($id);

0 commit comments

Comments
 (0)