Author: doogie
Date: Sun Jun 26 18:08:04 2011
New Revision: 1139859
URL:
http://svn.apache.org/viewvc?rev=1139859&view=revLog:
FIX: createOrder(userLogin) wasn't using the cart's
webSiteId.
Modified:
ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/CheckOutHelper.java
Modified: ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/CheckOutHelper.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/CheckOutHelper.java?rev=1139859&r1=1139858&r2=1139859&view=diff==============================================================================
--- ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/CheckOutHelper.java (original)
+++ ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/CheckOutHelper.java Sun Jun 26 18:08:04 2011
@@ -558,7 +558,7 @@ public class CheckOutHelper {
}
public Map<String, Object> createOrder(GenericValue userLogin) {
- return createOrder(userLogin, null, null, null, false, null, null);
+ return createOrder(userLogin, null, null, null, false, null, cart.getWebSiteId());
}
// Create order event - uses createOrder service for processing