From 026d3aa759ea9b34eef6d2cf54ece5b84646de31 Mon Sep 17 00:00:00 2001 From: tDidierjean Date: Wed, 21 Dec 2011 16:17:15 +0000 Subject: [PATCH] // Fix SpecificPriceRule name property --- classes/SpecificPriceRule.php | 1 + 1 file changed, 1 insertion(+) diff --git a/classes/SpecificPriceRule.php b/classes/SpecificPriceRule.php index c2084a15c..7bcc0641c 100755 --- a/classes/SpecificPriceRule.php +++ b/classes/SpecificPriceRule.php @@ -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),