1
0
Fork 0
mirror of synced 2025-04-04 06:13:32 +03:00

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

This commit is contained in:
Alex Lushpai 2021-01-14 17:24:12 +03:00 committed by GitHub
commit 26bc64f5e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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]) {