// Fix collections
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10893 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -59,12 +59,9 @@ class CartRuleCore extends ObjectModel
|
||||
|
||||
public static $definition = array(
|
||||
'table' => 'cart_rule',
|
||||
'identifier' => 'id_cart_rule',
|
||||
'primary' => 'id_cart_rule',
|
||||
);
|
||||
|
||||
protected $table = 'cart_rule';
|
||||
protected $identifier = 'id_cart_rule';
|
||||
|
||||
protected $fieldsRequired = array('date_from', 'date_to');
|
||||
protected $fieldsSize = array('code' => 254, 'description' => 65534);
|
||||
protected $fieldsValidate = array(
|
||||
|
||||
@@ -71,7 +71,7 @@ class OrderInvoiceCore extends ObjectModel
|
||||
|
||||
public static $definition = array(
|
||||
'table' => 'order_invoice',
|
||||
'identifier' => 'id_order_invoice',
|
||||
'primary' => 'id_order_invoice',
|
||||
);
|
||||
|
||||
public function getFields()
|
||||
|
||||
@@ -84,7 +84,7 @@ class StockCore extends ObjectModel
|
||||
|
||||
public static $definition = array(
|
||||
'table' => 'stock',
|
||||
'identifier' => 'id_stock',
|
||||
'primary' => 'id_stock',
|
||||
);
|
||||
|
||||
public function getFields()
|
||||
|
||||
Reference in New Issue
Block a user