[-] Classes : fix bug #PSCFV-2309 - Unable to override Shop::asso_tables
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15247 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
20f0360c27
commit
65dc076142
1 file changed
+2
-2
@@ -419,7 +419,7 @@ class ShopCore extends ObjectModel
|
|||||||
*/
|
*/
|
||||||
public static function getAssoTables()
|
public static function getAssoTables()
|
||||||
{
|
{
|
||||||
return self::$asso_tables;
|
return Shop::$asso_tables;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -430,7 +430,7 @@ class ShopCore extends ObjectModel
|
|||||||
*/
|
*/
|
||||||
public static function isTableAssociated($table)
|
public static function isTableAssociated($table)
|
||||||
{
|
{
|
||||||
return isset(self::$asso_tables[$table]) && self::$asso_tables[$table]['type'] == 'shop';
|
return isset(Shop::$asso_tables[$table]) && Shop::$asso_tables[$table]['type'] == 'shop';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in new issue
Block a user