[-] BO : admin tab without multishop classes couldn't be displayed #PSCFV-2427

This commit is contained in:
dMetzger
2012-05-19 09:25:25 +00:00
parent c17a846a9d
commit 1ddf2563a8
+1 -1
View File
@@ -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']))