replace CustomerBuilder
This commit is contained in:
parent
1d2a9dca82
commit
cec1dafd36
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue