From 90a56ae920cf16b2c0d41d5bcb7486ac3de442dc Mon Sep 17 00:00:00 2001 From: fBrignoli Date: Thu, 13 Oct 2011 15:15:21 +0000 Subject: [PATCH] // todo are done git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9318 b9a71923-0436-4b27-9f14-aed3839534dd --- classes/tax/TaxRule.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/classes/tax/TaxRule.php b/classes/tax/TaxRule.php index db8f4c72a..968c83199 100644 --- a/classes/tax/TaxRule.php +++ b/classes/tax/TaxRule.php @@ -40,11 +40,11 @@ class TaxRuleCore extends ObjectModel protected $fieldsValidate = array('id_tax_rules_group' => 'isUnsignedId', 'id_country' => 'isUnsignedId', 'id_state' => 'isUnsignedId', - 'zipcode_from' => 'isUnsignedId', // TODO: char - 'zipcode_to' => 'isUnsignedId', // TODO: char + 'zipcode_from' => 'isPostCode', + 'zipcode_to' => 'isPostCode', 'id_tax' => 'isUnsignedId', 'behavior' => 'isUnsignedInt', - 'description' => 'isUnsignedInt'); // TODO:char + 'description' => 'isString'); protected $table = 'tax_rule'; protected $identifier = 'id_tax_rule';