// Fix SpecificPriceRule name property

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11507 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
tDidierjean
2011-12-21 16:17:15 +00:00
parent f0544da7dc
commit 5520f6767e
+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),