1
0
mirror of synced 2024-11-21 21:06:09 +03:00

added check to fix wiping 'fio' field if it is doesn`t present in history

This commit is contained in:
vasilevdm 2021-01-14 16:38:56 +03:00
parent 185434f531
commit 72c53b8bd4

View File

@ -690,7 +690,9 @@ class RetailCrmHistory
}
}
$order['fio'] = str_replace("clear", "", $order['fio']);
if (array_key_exists('fio', $order)) {
$order['fio'] = str_replace("clear", "", $order['fio']);
}
//optionsOrderProps
if ($optionsOrderProps[$personType]) {