[OFBiz] SVN: r7877 - trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order

jacopo@svn.ofbiz.org jacopo at svn.ofbiz.org
Tue Jun 27 08:12:40 CDT 2006


Author: jacopo
Date: 2006-06-27 08:12:33 -0500 (Tue, 27 Jun 2006)
New Revision: 7877

Modified:
   trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/orderviewwebsecure.bsh
Log:
Fix for NPE.

Modified: trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/orderviewwebsecure.bsh
===================================================================
--- trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/orderviewwebsecure.bsh	2006-06-27 10:35:37 UTC (rev 7876)
+++ trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/orderviewwebsecure.bsh	2006-06-27 13:12:33 UTC (rev 7877)
@@ -29,6 +29,8 @@
 import org.ofbiz.base.util.collections.*;
 import org.ofbiz.order.order.*;
 
+orderHeader = context.get("orderHeader");
+
 if (orderHeader != null) {
     // set hasPermission, must always exist if the orderHeader != null
     // hasPermission if: has ORDERMGR_VIEW, ORDERMGR_ROLE_VIEW & associated with order, or is associated in the SUPPLIER_AGENT role



More information about the Svn mailing list