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

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

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

hansbak-2
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;