> Author: hansbak
> Date: Mon May 10 09:58:12 2010
> New Revision: 942700
>
> URL:
http://svn.apache.org/viewvc?rev=942700&view=rev> Log:
> fix for revision 940803 to add a shipping estimate. If a shipping extimate was not provided however created an exception
>
> Modified:
> ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/CheckOutEvents.java
>
> Modified: ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/CheckOutEvents.java
> URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/CheckOutEvents.java?rev=942700&r1=942699&r2=942700&view=diff> ==============================================================================
> --- ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/CheckOutEvents.java (original)
> +++ ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/CheckOutEvents.java Mon May 10 09:58:12 2010
> @@ -808,7 +808,7 @@ public class CheckOutEvents {
> shipAfterDate = request.getParameter("sgi" + shipGroupIndex + "_shipAfterDate");
> internalOrderNotes = request.getParameter("internal_order_notes");
> shippingNotes = request.getParameter("shippingNotes");
> - if (request.getParameter(shipGroupIndex + "_ship_estimate") != null) {
> + if (UtilValidate.isNotEmpty(request.getParameter(shipGroupIndex + "_ship_estimate"))) {
> shipEstimate = new BigDecimal(request.getParameter(shipGroupIndex + "_ship_estimate"));
> }
>
>
>