1
0
mirror of synced 2024-11-21 21:06:09 +03:00

bug fix with not uploaded orders (bitrix -> crm).

This commit is contained in:
Grisha Pomadchin 2013-07-17 19:12:58 +04:00
parent b551f9e661
commit fda1c857d2
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
Bitrix module
=============
Bitrix module for interaction with IntaroCRM throguh REST API.
Bitrix module for interaction with IntaroCRM through REST API.
Module allows:

View File

@ -91,7 +91,7 @@ class ICrmOrderActions
while ($arOrder = $dbOrder->GetNext()) {
if ($arOrder['ID'] <= $lastUpOrderId) //old orders not to upload
return true;
break;
if(!$lastUpOrderIdNew)
$lastUpOrderIdNew = $arOrder['ID'];