Fix:Error reported on new profile page when log in with admin on Jira issue OFBIZ-2003 (https://issues.apache.org/jira/browse/OFBIZ-2003) but with a slightly different approach. Thanks to Onima Kasliwal and Rishi Solanki.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@705873 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Vikas Mayur
2008-10-18 10:44:11 +00:00
parent 8bfea7247c
commit 3fe3ff9f3f
@@ -45,6 +45,8 @@ if (userLogin) {
if (shipToCountryProvinceGeo) {
context.shipToCountryProvinceGeo = shipToCountryProvinceGeo.geoName;
}
} else {
context.shipToContactMechId = null;
}
shipToContactMechList = ContactHelper.getContactMech(party, "PHONE_SHIPPING", "TELECOM_NUMBER", false)