Remove truncation of first two digits on customer creation for new API #730
This commit is contained in:
parent
87702f0e4c
commit
219ab513b5
1 changed files with 1 additions and 1 deletions
|
|
@ -138,7 +138,7 @@ class CustomerController extends ApiController
|
|||
}
|
||||
|
||||
// update mobile phone of customer
|
||||
$cust->setPhoneMobile(substr($this->session->getPhoneNumber(), 2));
|
||||
$cust->setPhoneMobile($this->session->getPhoneNumber());
|
||||
|
||||
return $cust;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue