Author: hansbak
Date: Sat Aug 30 20:17:33 2008
New Revision: 690627
URL:
http://svn.apache.org/viewvc?rev=690627&view=revLog:
changed on suggestion of Adam
Modified:
ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/actions/party/GetMyCompany.groovy
Modified: ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/actions/party/GetMyCompany.groovy
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/actions/party/GetMyCompany.groovy?rev=690627&r1=690626&r2=690627&view=diff==============================================================================
--- ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/actions/party/GetMyCompany.groovy (original)
+++ ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/actions/party/GetMyCompany.groovy Sat Aug 30 20:17:33 2008
@@ -23,7 +23,7 @@
roleTypeIdTo: "CONTACT",
roleTypeIdFrom: "ACCOUNT"]);
if (companies) {
- company = companies.get(0);
+ company = companies[0];
context.myCompanyId = company.partyIdFrom;
} else {
context.myCompanyId = userLogin.partyId;