// Fix SpecificPriceRule name property

This commit is contained in:
tDidierjean
2011-12-21 16:17:15 +00:00
parent 6394949561
commit 026d3aa759
+1
View File
@@ -46,6 +46,7 @@ class SpecificPriceRuleCore extends ObjectModel
'table' => 'specific_price_rule',
'primary' => 'id_specific_price_rule',
'fields' => array(
'name' => array('type' => self::TYPE_STRING, 'validate' => 'isGenericName', 'required' => true),
'id_shop' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedId', 'required' => true),
'id_country' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedId', 'required' => true),
'id_currency' => array('type' => self::TYPE_INT, 'required' => true),