diff --git a/intaro.retailcrm/classes/general/RCrmActions.php b/intaro.retailcrm/classes/general/RCrmActions.php index 183f4753..6a01b8fd 100644 --- a/intaro.retailcrm/classes/general/RCrmActions.php +++ b/intaro.retailcrm/classes/general/RCrmActions.php @@ -273,6 +273,10 @@ class RCrmActions */ public static function fromJSON($str) { + if ($str === null) { + return ''; + } + /** @var \Intaro\RetailCrm\Service\Utils $utils */ $utils = ServiceLocator::getOrCreate(\Intaro\RetailCrm\Service\Utils::class); return $utils->fromUTF8($str);