[-] Classes : fix bug #PSCFV-2309 - Unable to override Shop::asso_tables

This commit is contained in:
tDidierjean
2012-05-14 08:09:12 +00:00
parent e01939d1f4
commit fb1501db11
+2 -2
View File
@@ -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';
} }
/** /**