1
0
mirror of synced 2024-11-21 21:06:09 +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]) {