// Fix during language install (now support table with uppercase prefix on windows)
// Add is_native to hook table in db.sql file git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9989 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -254,9 +254,8 @@ abstract class ObjectModelCore
|
||||
if (!Shop::isFeatureActive())
|
||||
{
|
||||
if (isset($assos[$this->table]) && $assos[$this->table]['type'] == 'shop')
|
||||
{
|
||||
$result &= $this->associateTo(Context::getContext()->shop->getID(true), 'shop');
|
||||
}
|
||||
|
||||
$assos = GroupShop::getAssoTables();
|
||||
if (isset($assos[$this->table]) && $assos[$this->table]['type'] == 'group_shop')
|
||||
$result &= $this->associateTo(Context::getContext()->shop->getGroupID(), 'group_shop');
|
||||
|
||||
Reference in New Issue
Block a user