svn commit: r671121 - /ofbiz/trunk/applications/product/webapp/facility/WEB-INF/actions/shipment/EditShipmentPlan.groovy

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

svn commit: r671121 - /ofbiz/trunk/applications/product/webapp/facility/WEB-INF/actions/shipment/EditShipmentPlan.groovy

bibryam
Author: bibryam
Date: Tue Jun 24 03:42:29 2008
New Revision: 671121

URL: http://svn.apache.org/viewvc?rev=671121&view=rev
Log:
Fix groovy scrip.

Modified:
    ofbiz/trunk/applications/product/webapp/facility/WEB-INF/actions/shipment/EditShipmentPlan.groovy

Modified: ofbiz/trunk/applications/product/webapp/facility/WEB-INF/actions/shipment/EditShipmentPlan.groovy
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/facility/WEB-INF/actions/shipment/EditShipmentPlan.groovy?rev=671121&r1=671120&r2=671121&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/webapp/facility/WEB-INF/actions/shipment/EditShipmentPlan.groovy (original)
+++ ofbiz/trunk/applications/product/webapp/facility/WEB-INF/actions/shipment/EditShipmentPlan.groovy Tue Jun 24 03:42:29 2008
@@ -18,6 +18,7 @@
  */
 
 import org.ofbiz.widget.html.*;
+import org.ofbiz.entity.condition.EntityCondition;
 
 shipmentId = request.getParameter("shipmentId");
 orderId = request.getParameter("orderId");
@@ -29,7 +30,7 @@
 action = request.getParameter("action");
 
 shipment = null;
-if (!shipmentId) {
+if (shipmentId) {
     shipment = delegator.findOne("Shipment", [shipmentId : shipmentId], false);
 }