1
0
Fork 0
mirror of synced 2025-04-04 14:23:33 +03:00

ref #91040 обработка подписки при создания пользователя по истории

This commit is contained in:
Ivan Chaplygin 2023-07-17 12:25:30 +03:00
parent 21da16874e
commit c8823fb972

View file

@ -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(