Author: jacopoc Date: Tue Sep 19 10:19:20 2006 New Revision: 447916 URL: http://svn.apache.org/viewvc?view=rev&rev=447916 Log: Small fix that prevented the first address to be selected by default.
Modified: incubator/ofbiz/trunk/applications/order/webapp/ordermgr/entry/shipsettings.ftl Modified: incubator/ofbiz/trunk/applications/order/webapp/ordermgr/entry/shipsettings.ftl URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/order/webapp/ordermgr/entry/shipsettings.ftl?view=diff&rev=447916&r1=447915&r2=447916 ============================================================================== --- incubator/ofbiz/trunk/applications/order/webapp/ordermgr/entry/shipsettings.ftl (original) +++ incubator/ofbiz/trunk/applications/order/webapp/ordermgr/entry/shipsettings.ftl Tue Sep 19 10:19:20 2006 @@ -140,7 +140,7 @@ <#assign i = 0> <#list shippingContactMechList as shippingContactMech> <#assign shippingAddress = shippingContactMech.getRelatedOne("PostalAddress")> - <#if currShipContactMechId?exists> + <#if currShipContactMechId?exists && currShipContactMechId?has_content> <#if currShipContactMechId == shippingContactMech.contactMechId> <#assign checkedValue = "checked"> <#else>