You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by bi...@apache.org on 2008/06/24 12:42:30 UTC

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

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);
 }