We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 319feb7 commit 2cb64b5Copy full SHA for 2cb64b5
app/code/Magento/Catalog/Controller/Adminhtml/Category/Edit.php
@@ -61,7 +61,7 @@ public function execute()
61
} else {
62
$defaultStoreView = $this->storeManager->getDefaultStoreView();
63
if ($defaultStoreView) {
64
- $categoryId = (int)$this->storeManager->getDefaultStoreView()->getRootCategoryId();
+ $categoryId = (int)$defaultStoreView->getRootCategoryId();
65
66
$stores = $this->storeManager->getStores();
67
if (count($stores)) {
0 commit comments