order status empty fix
This commit is contained in:
parent
8dbcb9e55d
commit
a1cf53dedf
@ -852,7 +852,7 @@ class ICrmOrderActions
|
||||
CSaleOrder::Update($order['externalId'], $arFields);
|
||||
|
||||
// set STATUS_ID
|
||||
if($optionsPayStatuses[$order['status']])
|
||||
if($order['status'] && $optionsPayStatuses[$order['status']])
|
||||
CSaleOrder::StatusOrder($order['externalId'], $optionsPayStatuses[$order['status']]);
|
||||
|
||||
// uncancel order
|
||||
|
Loading…
Reference in New Issue
Block a user