1
0
mirror of synced 2024-11-22 21:36:10 +03:00
This commit is contained in:
Grisha Pomadchin 2013-09-09 16:35:22 +04:00
parent 0812440edc
commit 2ccc2999e6

View File

@ -330,9 +330,9 @@ class ICrmOrderActions
if(count($contactNameArr) == 1) { if(count($contactNameArr) == 1) {
$resOrder['firstName'] = $contactNameArr[0]; $resOrder['firstName'] = $contactNameArr[0];
} else { } else {
$resOrder['lastName'] = $contactNameArr['contactName'][0], $resOrder['lastName'] = $contactNameArr['contactName'][0];
$resOrder['firstName'] = $contactNameArr['contactName'][1], $resOrder['firstName'] = $contactNameArr['contactName'][1];
$resOrder['patronymic'] = $contactNameArr['contactName'][2], $resOrder['patronymic'] = $contactNameArr['contactName'][2];
} }
$resOrder = self::clearArr($resOrder); $resOrder = self::clearArr($resOrder);