From fb9be7859e1a89048fb75f57ef5e8053e14874a6 Mon Sep 17 00:00:00 2001 From: Konstantin Date: Wed, 29 May 2019 13:07:59 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=20=D0=B1=D0=B0=D0=B3=20=D1=81=D0=B2=D1=8F=D0=B7?= =?UTF-8?q?=D0=B0=D0=BD=D0=BD=D1=8B=D0=B9=20=D1=81=20=20=D0=BD=D0=B5=D0=BA?= =?UTF-8?q?=D0=BE=D0=BE=D1=80=D0=B5=D0=BA=D1=82=D0=BD=D1=8B=D0=BC=20extern?= =?UTF-8?q?alId?= 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 27645412..fe451d6f 100644 --- a/intaro.retailcrm/classes/general/history/RetailCrmHistory_v5.php +++ b/intaro.retailcrm/classes/general/history/RetailCrmHistory_v5.php @@ -423,7 +423,7 @@ class RetailCrmHistory if (isset($order['externalId'])) { $itemUpdate = false; - if ($order['externalId']) { + if ($order['externalId'] && is_numeric($order['externalId'])) { try { $newOrder = Bitrix\Sale\Order::load($order['externalId']); } catch (Bitrix\Main\ArgumentNullException $e) {