diff --git a/TradeManageNew/DD_OrderServiceNew.asmx.cs b/TradeManageNew/DD_OrderServiceNew.asmx.cs index 9c8748a..e96e49d 100644 --- a/TradeManageNew/DD_OrderServiceNew.asmx.cs +++ b/TradeManageNew/DD_OrderServiceNew.asmx.cs @@ -28925,11 +28925,11 @@ namespace TradeManageNew Variants = new Variants { Return_quantity = 1, - ImgUrl = imageUrls.Length > 0 ? imageUrls[0] : null, - ImgUrl2 = imageUrls.Length > 0 ? imageUrls[0] : null, - ImgUrl3 = imageUrls.Length > 0 ? imageUrls[0] : null, - ImgUrl4 = imageUrls.Length > 0 ? imageUrls[0] : null, - ImgUrl5 = imageUrls.Length > 0 ? imageUrls[0] : null, + ImgUrl = imageUrls.Count > 0 ? imageUrls[0] : null, + ImgUrl2 = imageUrls.Count > 0 ? imageUrls[0] : null, + ImgUrl3 = imageUrls.Count > 0 ? imageUrls[0] : null, + ImgUrl4 = imageUrls.Count > 0 ? imageUrls[0] : null, + ImgUrl5 = imageUrls.Count > 0 ? imageUrls[0] : null, StoreName = orderUsedSalePlatform.WarehouseLocation == TradeUsedSale.Enums.WarehouseLocation.East ? "E"