svn commit: r784208 - /ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/OrderView.groovy

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r784208 - /ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/OrderView.groovy

ruppert-2
Author: ruppert
Date: Fri Jun 12 17:28:32 2009
New Revision: 784208

URL: http://svn.apache.org/viewvc?rev=784208&view=rev
Log:
OFBIZ-2548 - thanks to Divesh Dutta - Better guarding of a variable definition in the OrderView

Modified:
    ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/OrderView.groovy

Modified: ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/OrderView.groovy
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/OrderView.groovy?rev=784208&r1=784207&r2=784208&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/OrderView.groovy (original)
+++ ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/OrderView.groovy Fri Jun 12 17:28:32 2009
@@ -456,6 +456,7 @@
     }
       
     // get orderAdjustmentId for SHIPPING_CHARGES
+    orderAdjustmentId = null;
     orderAdjustments.each { orderAdjustment ->
         if(orderAdjustment.orderAdjustmentTypeId.equals("SHIPPING_CHARGES")) {
             orderAdjustmentId = orderAdjustment.orderAdjustmentId;