Author: jleroux
Date: Fri Mar 23 19:39:34 2012
New Revision: 1304570
URL:
http://svn.apache.org/viewvc?rev=1304570&view=revLog:
Small refactoring: no need to have 2 blocks here
Modified:
ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/entry/CheckoutOptions.groovy
Modified: ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/entry/CheckoutOptions.groovy
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/entry/CheckoutOptions.groovy?rev=1304570&r1=1304569&r2=1304570&view=diff==============================================================================
--- ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/entry/CheckoutOptions.groovy (original)
+++ ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/entry/CheckoutOptions.groovy Fri Mar 23 19:39:34 2012
@@ -36,11 +36,8 @@ if (shoppingCart) {
shippingEstWpr = new ShippingEstimateWrapper(dispatcher, shoppingCart, 0);
context.shippingEstWpr = shippingEstWpr;
context.carrierShipmentMethodList = shippingEstWpr.getShippingMethods();
-}
-
-// Reassign items requiring drop-shipping to new or existing drop-ship groups
-if (shoppingCart) {
- shoppingCart.createDropShipGroups(dispatcher);
+ // Reassign items requiring drop-shipping to new or existing drop-ship groups
+ shoppingCart.createDropShipGroups(dispatcher);
}
profiledefs = delegator.findByPrimaryKey("PartyProfileDefault", [partyId : userLogin.partyId, productStoreId : productStoreId]);