1
0
mirror of synced 2024-11-22 05:16:09 +03:00

orders export fix

This commit is contained in:
Grisha Pomadchin 2013-07-29 20:22:35 +04:00
parent 2440aee3a3
commit 7adaec8435

View File

@ -121,10 +121,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
}
}