From 3fe3ff9f3fa40c4de65a495540eb4bbdb2a12c94 Mon Sep 17 00:00:00 2001 From: Vikas Mayur Date: Sat, 18 Oct 2008 10:44:11 +0000 Subject: [PATCH] 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 --- .../WEB-INF/actions/customer/EditShippingAddress.groovy | 2 ++ 1 file changed, 2 insertions(+) diff --git a/applications/ecommerce/webapp/ecommerce/WEB-INF/actions/customer/EditShippingAddress.groovy b/applications/ecommerce/webapp/ecommerce/WEB-INF/actions/customer/EditShippingAddress.groovy index 75d58ed419..25cfbc456f 100644 --- a/applications/ecommerce/webapp/ecommerce/WEB-INF/actions/customer/EditShippingAddress.groovy +++ b/applications/ecommerce/webapp/ecommerce/WEB-INF/actions/customer/EditShippingAddress.groovy @@ -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)