1
0
mirror of synced 2024-11-29 00:36:07 +03:00

fix editing propertys in bitrix orders

This commit is contained in:
KMityai 2022-04-13 17:07:58 +03:00
parent 559bf79f7b
commit bbdf690bb3

View File

@ -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);