svn commit: r663388 - /ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/actions/party/editShoppingList.groovy

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r663388 - /ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/actions/party/editShoppingList.groovy

jleroux@apache.org
Author: jleroux
Date: Wed Jun  4 15:20:40 2008
New Revision: 663388

URL: http://svn.apache.org/viewvc?rev=663388&view=rev
Log:
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;