Author: jleroux
Date: Wed Jun 4 15:20:40 2008
New Revision: 663388
URL:
http://svn.apache.org/viewvc?rev=663388&view=revLog:
Fix a bug occurred in migration from bsh
Modified:
ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/actions/party/editShoppingList.groovy
Modified: ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/actions/party/editShoppingList.groovy
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/actions/party/editShoppingList.groovy?rev=663388&r1=663387&r2=663388&view=diff==============================================================================
--- ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/actions/party/editShoppingList.groovy (original)
+++ ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/actions/party/editShoppingList.groovy Wed Jun 4 15:20:40 2008
@@ -27,7 +27,7 @@
currencyUomId = parameters.currencyUomId ?: UtilHttp.getCurrencyUom(request);
context.currencyUomId = currencyUomId;
-partyId = parameters.partyId ?:parameters.partyId;
+partyId = parameters.partyId ?:request.getAttribute("partyId");
party = delegator.findByPrimaryKey("Party", [partyId : partyId]);
context.party = party;