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

lastUpORderId fix

This commit is contained in:
Grisha Pomadchin 2013-07-29 21:25:40 +04:00
parent 2da03f3025
commit eb9b3c46ed

View File

@ -144,11 +144,11 @@ class ICrmOrderActions
if($api->getStatusCode() != 460) // some orders were sent
return false; // in pack mode return errors
if($lastOrderId)
COption::SetOptionString(self::$MODULE_ID, self::$CRM_ORDER_LAST_ID, $lastOrderId);
}
if($lastOrderId)
COption::SetOptionString(self::$MODULE_ID, self::$CRM_ORDER_LAST_ID, $lastOrderId);
return true; // end of pack
}
}