// Improve multishop API
This commit is contained in:
1 parent
6afc517815
commit
dfdce557ee
6 files changed
+13
-13
No files matched your search
@@ -516,7 +516,7 @@ class AdminShopControllerCore extends AdminController
|
||||
foreach ($children as $child)
|
||||
$selected_cat[] = $child['id_category'];
|
||||
}
|
||||
if ($this->context->shop() == Shop::CONTEXT_SHOP && Tools::isSubmit('id_shop'))
|
||||
if (Shop::getContext() == Shop::CONTEXT_SHOP && Tools::isSubmit('id_shop'))
|
||||
$root_category = new Category($shop->id_category);
|
||||
else
|
||||
$root_category = new Category($id_root);
|
||||
|
||||
Reference in new issue
Block a user