fix editing propertys in bitrix orders
This commit is contained in:
parent
559bf79f7b
commit
bbdf690bb3
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user