You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ha...@apache.org on 2008/08/31 05:17:33 UTC

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

Author: hansbak
Date: Sat Aug 30 20:17:33 2008
New Revision: 690627

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