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

This commit is contained in:
rMalie
2012-06-07 09:40:48 +00:00
parent 6241122e73
commit 209783e059
4 changed files with 16 additions and 1 deletions
@@ -86,6 +86,11 @@ class AdminShopGroupControllerCore extends AdminController
parent::__construct();
}
public function viewAccess($disable = false)
{
return Configuration::get('PS_MULTISHOP_FEATURE_ACTIVE');
}
public function initContent()
{
$this->list_simple_header = true;