// Quick patch for multishop_specific / need to be check by vAugagneur #PSCFV-3329

This commit is contained in:
dMetzger committed 2012-07-24 17:48:18 +00:00
1 parent f92652f2c5
commit 727f9c6b1e
1 file changed
+1 -1
+1 -1
View File
@@ -2000,7 +2000,7 @@ class AdminControllerCore extends Controller
if ($this->multishop_context && Shop::isTableAssociated($this->table) && !empty($this->className)) if ($this->multishop_context && Shop::isTableAssociated($this->table) && !empty($this->className))
{ {
$def = ObjectModel::getDefinition($this->className); $def = ObjectModel::getDefinition($this->className);
if (Shop::getContext() != Shop::CONTEXT_ALL || !empty($def['multishop_specific']) || !$this->context->employee->isSuperAdmin()) if (Shop::getContext() != Shop::CONTEXT_ALL || Shop::isTableAssociated($this->table) || !$this->context->employee->isSuperAdmin())
{ {
$idenfier_shop = Shop::getContextListShopID(); $idenfier_shop = Shop::getContextListShopID();
if (!$this->_group) if (!$this->_group)