1
0
mirror of synced 2024-11-25 14:56:09 +03:00

order status empty fix

This commit is contained in:
Grisha Pomadchin 2014-02-13 17:34:42 +04:00
parent 8dbcb9e55d
commit a1cf53dedf

View File

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