diff --git a/controllers/admin/AdminCategoriesController.php b/controllers/admin/AdminCategoriesController.php index e605472ff..b1e9da545 100644 --- a/controllers/admin/AdminCategoriesController.php +++ b/controllers/admin/AdminCategoriesController.php @@ -105,7 +105,7 @@ class AdminCategoriesControllerCore extends AdminController $this->_category = new Category($id_category); else { - if (Shop::isFeatureActive() && Shop::getContext() == Shop::CONTEXT_SHOP) + if (Shop::getContext() == Shop::CONTEXT_SHOP) $this->_category = new Category($this->context->shop->id_category); elseif (count(Category::getCategoriesWithoutParent()) > 1 && Configuration::get('PS_MULTISHOP_FEATURE_ACTIVE') && count(Shop::getShops(true, null, true)) != 1) $this->_category = Category::getTopCategory();