// Fix multishop access when option is not enabled #PSCFV-2701
This commit is contained in:
@@ -76,6 +76,11 @@ class AdminShopControllerCore extends AdminController
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
public function viewAccess($disable = false)
|
||||
{
|
||||
return Configuration::get('PS_MULTISHOP_FEATURE_ACTIVE');
|
||||
}
|
||||
|
||||
public function initToolbar()
|
||||
{
|
||||
if (!$this->id_shop_group && $this->object && $this->object->id_shop_group)
|
||||
|
||||
Reference in New Issue
Block a user