ref #91040 обработка подписки при создания пользователя по истории
This commit is contained in:
parent
21da16874e
commit
c8823fb972
1 changed files with 2 additions and 3 deletions
|
@ -155,9 +155,8 @@ class RetailCrmHistory
|
|||
|
||||
if ($registerNewUser === true) {
|
||||
$customerBuilder->buildPassword();
|
||||
$registeredUserID = $newUser->Add(
|
||||
$customerBuilder->getCustomer()->getObjectToArray()
|
||||
);
|
||||
$customerArray = $customerBuilder->getCustomer()->getObjectToArray();
|
||||
$registeredUserID = $newUser->Add(self::convertBooleanFields($customerArray));
|
||||
|
||||
if ($registeredUserID === false) {
|
||||
RCrmActions::eventLog(
|
||||
|
|
Loading…
Add table
Reference in a new issue