From e1c8259411fa195ce29bb94ecea490ff2ac77e8f Mon Sep 17 00:00:00 2001 From: Francois Gaillard Date: Wed, 29 Feb 2012 10:40:13 +0000 Subject: [PATCH] [-] BO : #PSFV-414 : BugFix - Customers company validation changed to generic name --- classes/Customer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Customer.php b/classes/Customer.php index d39c7785c..d2d85dc1d 100644 --- a/classes/Customer.php +++ b/classes/Customer.php @@ -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),