Skip to content

Commit d73e9d8

Browse files
MAGETWO-88019: [Forwardport] Refactoring: remove unuseful temporary variable #13733
- Merge Pull Request #13733 from nmalevanec/magento2:2.3-develop-PR-port-13663 - Merged commits: 1. 44940be
2 parents c920a56 + 44940be commit d73e9d8

File tree

1 file changed

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

1 file changed

+1
-2
lines changed

app/code/Magento/Catalog/Controller/Adminhtml/Category/Save.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,7 @@ public function execute()
127127
return $resultRedirect->setPath('catalog/*/', ['_current' => true, 'id' => null]);
128128
}
129129

130-
$data['general'] = $this->getRequest()->getPostValue();
131-
$categoryPostData = $data['general'];
130+
$categoryPostData = $this->getRequest()->getPostValue();
132131

133132
$isNewCategory = !isset($categoryPostData['entity_id']);
134133
$categoryPostData = $this->stringToBoolConverting($categoryPostData);

0 commit comments

Comments
 (0)