Fixed module installation upload
This commit is contained in:
parent
d64dd971d3
commit
9159d7fc52
1 changed files with 6 additions and 2 deletions
|
@ -526,8 +526,12 @@ class RetailCrmOrder
|
|||
return $uploaded;
|
||||
};
|
||||
|
||||
if (false === $uploadItems($resCustomers, 'customersUpload')) {
|
||||
return false;
|
||||
$chunkCustomers = array_chunk($resCustomers[$order['LID']], 50, true);
|
||||
foreach ($chunkCustomers as $user) {
|
||||
$arUser[$order['LID']] = $user;
|
||||
if (false === $uploadItems($arUser, 'customersUpload')) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
if ("Y" == RetailcrmConfigProvider::getCorporateClientStatus()) {
|
||||
|
|
Loading…
Add table
Reference in a new issue