lastUpORderId fix
This commit is contained in:
parent
2da03f3025
commit
eb9b3c46ed
@ -144,10 +144,10 @@ class ICrmOrderActions
|
|||||||
|
|
||||||
if($api->getStatusCode() != 460) // some orders were sent
|
if($api->getStatusCode() != 460) // some orders were sent
|
||||||
return false; // in pack mode return errors
|
return false; // in pack mode return errors
|
||||||
|
}
|
||||||
|
|
||||||
if($lastOrderId)
|
if($lastOrderId)
|
||||||
COption::SetOptionString(self::$MODULE_ID, self::$CRM_ORDER_LAST_ID, $lastOrderId);
|
COption::SetOptionString(self::$MODULE_ID, self::$CRM_ORDER_LAST_ID, $lastOrderId);
|
||||||
}
|
|
||||||
|
|
||||||
return true; // end of pack
|
return true; // end of pack
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user