// Fix multishop access when option is not enabled #PSCFV-2701

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15908 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2012-06-07 09:40:48 +00:00
parent d6e649d0db
commit b02803e86e
4 changed files with 16 additions and 1 deletions
@@ -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)