[-] BO : admin tab without multishop classes couldn't be displayed #PSCFV-2427
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15410 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -1980,7 +1980,7 @@ class AdminControllerCore extends Controller
|
||||
}
|
||||
|
||||
$filter_shop = '';
|
||||
if ($this->multishop_context && Shop::isTableAssociated($this->table))
|
||||
if ($this->multishop_context && Shop::isTableAssociated($this->table) && !empty($this->className))
|
||||
{
|
||||
$def = ObjectModel::getDefinition($this->className);
|
||||
if (Shop::getContext() != Shop::CONTEXT_ALL || !empty($def['multishop']))
|
||||
|
||||
Reference in New Issue
Block a user