From f0d0ab181f4508e7ab31ad2e08b32f067060a1ac Mon Sep 17 00:00:00 2001 From: fBrignoli Date: Thu, 13 Oct 2011 15:15:21 +0000 Subject: [PATCH] // todo are done --- 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';