Author: sichen
Date: Mon Apr 2 15:06:14 2007
New Revision: 524942
URL:
http://svn.apache.org/viewvc?view=rev&rev=524942Log:
Small fix to find facility location in case facilityId is stored in attribute.
Modified:
ofbiz/trunk/applications/product/webapp/facility/WEB-INF/actions/facility/FindFacilityLocation.bsh
Modified: ofbiz/trunk/applications/product/webapp/facility/WEB-INF/actions/facility/FindFacilityLocation.bsh
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/facility/WEB-INF/actions/facility/FindFacilityLocation.bsh?view=diff&rev=524942&r1=524941&r2=524942==============================================================================
--- ofbiz/trunk/applications/product/webapp/facility/WEB-INF/actions/facility/FindFacilityLocation.bsh (original)
+++ ofbiz/trunk/applications/product/webapp/facility/WEB-INF/actions/facility/FindFacilityLocation.bsh Mon Apr 2 15:06:14 2007
@@ -26,6 +26,7 @@
delegator = request.getAttribute("delegator");
facilityId = request.getParameter("facilityId");
+if (facilityId == null) facilityId = session.getAttribute("facilityId");
context.put("facilityId", facilityId);
lookup = request.getParameter("look_up");