From d250e0c6600c6001894658429e279bfd8d49eb3c Mon Sep 17 00:00:00 2001 From: Manuel Raynaud Date: Fri, 12 Jul 2013 16:48:51 +0200 Subject: [PATCH] change customer creation, integrate firstname and lastname --- core/lib/Thelia/Model/Customer.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/lib/Thelia/Model/Customer.php b/core/lib/Thelia/Model/Customer.php index c417c4a0f..a6bd5f07c 100755 --- a/core/lib/Thelia/Model/Customer.php +++ b/core/lib/Thelia/Model/Customer.php @@ -55,7 +55,8 @@ class Customer extends BaseCustomer implements UserInterface public function createOrUpdate($titleId, $firstname, $lastname, $address1, $address2, $address3, $phone, $cellphone, $zipcode, $countryId, $email, $plainPassword = null, $lang = null, $reseller = 0, $sponsor = null, $discount = 0) { $this - + ->setFirstname($firstname) + ->setLastname($lastname) ->setEmail($email) ->setPassword($plainPassword) ->setReseller($reseller)