Fix groovy scrip.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@671121 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
+2
-1
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user