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

sichen at svn.ofbiz.org sichen at svn.ofbiz.org
Tue Nov 15 14:55:30 EST 2005


Author: sichen
Date: 2005-11-15 13:55:27 -0600 (Tue, 15 Nov 2005)
New Revision: 6129

Modified:
   trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/newnote.bsh
Log:
Fixed bug where user can't view other orders after creating an order note. Thanks to Ray Barlow. OFBIZ-578.

Modified: trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/newnote.bsh
===================================================================
--- trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/newnote.bsh	2005-11-15 15:00:01 UTC (rev 6128)
+++ trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/newnote.bsh	2005-11-15 19:55:27 UTC (rev 6129)
@@ -25,11 +25,7 @@
 */
 
 orderId = request.getParameter("order_id");
-if (orderId == null) {
-    orderId = session.getAttribute("orderId");
-} else {
-    session.setAttribute("orderId", orderId);
-}
+if (orderId == null) orderId = request.getParameter("orderId");
 context.put("orderId", orderId);
  
 workEffortId = request.getParameter("workEffortId");
@@ -49,4 +45,4 @@
 if (fromDate != null && fromDate.length() > 0)
     donePage = donePage + "&fromDate=" + fromDate; 
 context.put("donePage", donePage);
-  
\ No newline at end of file
+  



More information about the Svn mailing list