svn commit: r891931 - /ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/CompanyHeader.groovy

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

svn commit: r891931 - /ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/CompanyHeader.groovy

mrisaliti
Author: mrisaliti
Date: Thu Dec 17 21:46:30 2009
New Revision: 891931

URL: http://svn.apache.org/viewvc?rev=891931&view=rev
Log:
Country name of the company can be now visible in the current language in use

Modified:
    ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/CompanyHeader.groovy

Modified: ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/CompanyHeader.groovy
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/CompanyHeader.groovy?rev=891931&r1=891930&r2=891931&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/CompanyHeader.groovy (original)
+++ ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/CompanyHeader.groovy Thu Dec 17 21:46:30 2009
@@ -135,7 +135,7 @@
    // get the country name and state/province abbreviation
    country = address.getRelatedOneCache("CountryGeo");
    if (country) {
-      context.countryName = country.geoName;
+      context.countryName = country.get("geoName", locale);
    }
    stateProvince = address.getRelatedOneCache("StateProvinceGeo");
    if (stateProvince) {