diff --git a/intaro.retailcrm/classes/general/history/RetailCrmHistory_v5.php b/intaro.retailcrm/classes/general/history/RetailCrmHistory_v5.php index ce628b9d..b6f654b6 100644 --- a/intaro.retailcrm/classes/general/history/RetailCrmHistory_v5.php +++ b/intaro.retailcrm/classes/general/history/RetailCrmHistory_v5.php @@ -1863,7 +1863,7 @@ class RetailCrmHistory if (!isset($obj) || empty($obj)) { return false; } - if ($prop && $value) { + if ($prop && $value || $prop && !$value) { $obj->setField($prop, $value); } elseif ($value && !$prop) { $obj->setValue($value);