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 2cb64b5 commit 349fd4bCopy full SHA for 349fd4b
app/code/Magento/Catalog/Controller/Adminhtml/Category/Edit.php
@@ -66,7 +66,7 @@ public function execute()
66
$stores = $this->storeManager->getStores();
67
if (count($stores)) {
68
$store = reset($stores);
69
- $categoryId = (int)$this->storeManager->getStore($store->getId())->getRootCategoryId();
+ $categoryId = (int)$store->getRootCategoryId();
70
}
71
72
0 commit comments