Author: bibryam
Date: Tue Jun 24 03:42:29 2008
New Revision: 671121
URL:
http://svn.apache.org/viewvc?rev=671121&view=revLog:
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);
}