From 211e7d6d69c1cdc2ed6e8fbbd87c22c4c8e4dcc1 Mon Sep 17 00:00:00 2001 From: Bilgin Ismet Ibryam Date: Tue, 24 Jun 2008 10:42:29 +0000 Subject: [PATCH] Fix groovy scrip. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@671121 13f79535-47bb-0310-9956-ffa450edef68 --- .../facility/WEB-INF/actions/shipment/EditShipmentPlan.groovy | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/applications/product/webapp/facility/WEB-INF/actions/shipment/EditShipmentPlan.groovy b/applications/product/webapp/facility/WEB-INF/actions/shipment/EditShipmentPlan.groovy index eb46a0b6bc..a5453f03b1 100644 --- a/applications/product/webapp/facility/WEB-INF/actions/shipment/EditShipmentPlan.groovy +++ b/applications/product/webapp/facility/WEB-INF/actions/shipment/EditShipmentPlan.groovy @@ -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 @@ if (!shipmentId) { action = request.getParameter("action"); shipment = null; -if (!shipmentId) { +if (shipmentId) { shipment = delegator.findOne("Shipment", [shipmentId : shipmentId], false); }