From 460b254a137d60067c5aaca60568c3373f736003 Mon Sep 17 00:00:00 2001 From: Yura Date: Wed, 11 Nov 2020 14:46:27 +0300 Subject: [PATCH] =?UTF-8?q?fix=20#152=20=D0=9F=D1=80=D0=BE=D0=B2=D0=B5?= =?UTF-8?q?=D1=80=D0=BA=D0=B0=20=D0=B4=D0=B0=D0=BD=D0=BD=D1=8B=D1=85=20?= =?UTF-8?q?=D0=A4=D0=98=D0=9E=20=D0=BF=D1=80=D0=B8=20=D0=B7=D0=B0=D0=BF?= =?UTF-8?q?=D0=BE=D0=BB=D0=BD=D0=B5=D0=BD=D0=B8=D0=B8=20=D0=BF=D0=BE=D0=BB?= =?UTF-8?q?=D1=8F=20=D0=B2=20=D0=B8=D1=81=D1=82=D0=BE=D1=80=D0=B8=D0=B8=20?= =?UTF-8?q?(#153)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../classes/general/history/RetailCrmHistory_v5.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/intaro.retailcrm/classes/general/history/RetailCrmHistory_v5.php b/intaro.retailcrm/classes/general/history/RetailCrmHistory_v5.php index ed6b851c..f291b92a 100644 --- a/intaro.retailcrm/classes/general/history/RetailCrmHistory_v5.php +++ b/intaro.retailcrm/classes/general/history/RetailCrmHistory_v5.php @@ -699,7 +699,7 @@ class RetailCrmHistory $somePropValue = $propertyCollection ->getItemByOrderPropertyId($propsKey[$orderProp]['ID']); - if ($key == 'fio') { + if ($key == 'fio' && '' !== trim($order['fio'])) { self::setProp($somePropValue, $order[$key]); } else { self::setProp($somePropValue, RCrmActions::fromJSON($order[$key]));