Skip to content

Commit 8fba0f8

Browse files
author
Oleksandr Gorkun
committed
MC-16089: Category saved through API with parent category, saved like root category
1 parent ad2d25c commit 8fba0f8

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

app/code/Magento/Catalog/Model/Category.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -948,7 +948,6 @@ public function beforeSave()
948948
)
949949
&& !$this->authorization->isAllowed('Magento_Catalog::edit_category_design')
950950
) {
951-
$this->getCustomAttributes();
952951
foreach ($this->_designAttributes as $attributeCode) {
953952
$this->setData($attributeCode, $value = $this->getOrigData($attributeCode));
954953
if (array_key_exists($attributeCode, $this->_data[self::CUSTOM_ATTRIBUTES])) {

0 commit comments

Comments
 (0)