diff --git a/intaro.retailcrm/classes/general/history/RetailCrmHistory_v5.php b/intaro.retailcrm/classes/general/history/RetailCrmHistory_v5.php index 234eac90..0b27656c 100644 --- a/intaro.retailcrm/classes/general/history/RetailCrmHistory_v5.php +++ b/intaro.retailcrm/classes/general/history/RetailCrmHistory_v5.php @@ -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]) {