[-] BO : #PSFV-414 : BugFix - Customers company validation changed to generic name

This commit is contained in:
Francois Gaillard
2012-02-29 10:40:13 +00:00
parent 7e55893c42
commit e1c8259411
+1 -1
View File
@@ -168,7 +168,7 @@ class CustomerCore extends ObjectModel
'ip_registration_newsletter' => array('type' => self::TYPE_STRING, 'copy_post' => false),
'optin' => array('type' => self::TYPE_BOOL, 'validate' => 'isBool'),
'website' => array('type' => self::TYPE_STRING, 'validate' => 'isUrl'),
'company' => array('type' => self::TYPE_STRING, 'validate' => 'isName'),
'company' => array('type' => self::TYPE_STRING, 'validate' => 'isGenericName'),
'siret' => array('type' => self::TYPE_STRING, 'validate' => 'isSiret'),
'ape' => array('type' => self::TYPE_STRING, 'validate' => 'isApe'),
'outstanding_allow_amount' => array('type' => self::TYPE_INT, 'validate' => 'isFloat', 'copy_post' => false),