replace CustomerBuilder
This commit is contained in:
parent
1d2a9dca82
commit
cec1dafd36
@ -63,9 +63,10 @@ class RetailCrmHistory
|
||||
$GLOBALS['RETAIL_CRM_HISTORY'] = true;
|
||||
|
||||
$newUser = new CUser();
|
||||
$customerBuilder = new CustomerBuilder();
|
||||
|
||||
foreach ($customers as $customer) {
|
||||
$customerBuilder = new CustomerBuilder();
|
||||
|
||||
if (function_exists('retailCrmBeforeCustomerSave')) {
|
||||
$newResCustomer = retailCrmBeforeCustomerSave($customer);
|
||||
if (is_array($newResCustomer) && !empty($newResCustomer)) {
|
||||
|
Loading…
Reference in New Issue
Block a user