Author: jonesde
Date: Thu Jan 25 20:45:46 2007
New Revision: 500144
URL:
http://svn.apache.org/viewvc?view=rev&rev=500144Log:
Applied patch from Anil Patel to fix small issue from earlier patch; from Jira #OFBIZ-657
Modified:
ofbiz/trunk/applications/product/src/org/ofbiz/shipment/thirdparty/ups/UpsServices.java
Modified: ofbiz/trunk/applications/product/src/org/ofbiz/shipment/thirdparty/ups/UpsServices.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/src/org/ofbiz/shipment/thirdparty/ups/UpsServices.java?view=diff&rev=500144&r1=500143&r2=500144==============================================================================
--- ofbiz/trunk/applications/product/src/org/ofbiz/shipment/thirdparty/ups/UpsServices.java (original)
+++ ofbiz/trunk/applications/product/src/org/ofbiz/shipment/thirdparty/ups/UpsServices.java Thu Jan 25 20:45:46 2007
@@ -1964,7 +1964,7 @@
Element shiptoAddrElement = UtilXml.addChildElement(shiptoElement, "Address", rateRequestDoc);
UtilXml.addChildElementValue(shiptoAddrElement, "PostalCode", shippingPostalCode, rateRequestDoc);
if (shippingCountryCode != null && !shippingCountryCode.equals("")) {
- UtilXml.addChildElementValue(shiptoAddrElement, "CountryCode", "CA", rateRequestDoc);
+ UtilXml.addChildElementValue(shiptoAddrElement, "CountryCode", shippingCountryCode, rateRequestDoc);
}
if (isResidentialAddress != null && isResidentialAddress.equals("Y")) {