Author: jleroux
Date: Sat Sep 24 10:10:53 2011
New Revision: 1175143
URL:
http://svn.apache.org/viewvc?rev=1175143&view=revLog:
Fix a bug reported by Amit Sharma on dev ML, introduced at r1175135
Modified:
ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/actions/customer/EditShippingAddress.groovy
Modified: ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/actions/customer/EditShippingAddress.groovy
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/actions/customer/EditShippingAddress.groovy?rev=1175143&r1=1175142&r2=1175143&view=diff==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/actions/customer/EditShippingAddress.groovy (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/actions/customer/EditShippingAddress.groovy Sat Sep 24 10:10:53 2011
@@ -23,7 +23,7 @@ import org.ofbiz.party.contact.ContactHe
if (userLogin) {
party = userLogin.getRelatedOne("Party");
context.partyId = party.partyId
- if ("Person".equals(party.partyTypeId)) {
+ if ("PERSON".equals(party.partyTypeId)) {
person = delegator.findByPrimaryKey("Person", [partyId : party.partyId]);
context.firstName = person.firstName;
context.lastName = person.lastName;