You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by si...@apache.org on 2007/05/23 20:48:39 UTC

svn commit: r541024 - /ofbiz/trunk/applications/party/webapp/partymgr/party/editcreditcard.ftl

Author: sichen
Date: Wed May 23 11:48:38 2007
New Revision: 541024

URL: http://svn.apache.org/viewvc?view=rev&rev=541024
Log:
Fix bug where edit credit card page crashes when address has no postalCode (non-US, for instance)

Modified:
    ofbiz/trunk/applications/party/webapp/partymgr/party/editcreditcard.ftl

Modified: ofbiz/trunk/applications/party/webapp/partymgr/party/editcreditcard.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/webapp/partymgr/party/editcreditcard.ftl?view=diff&rev=541024&r1=541023&r2=541024
==============================================================================
--- ofbiz/trunk/applications/party/webapp/partymgr/party/editcreditcard.ftl (original)
+++ ofbiz/trunk/applications/party/webapp/partymgr/party/editcreditcard.ftl Wed May 23 11:48:38 2007
@@ -226,7 +226,7 @@
                 <#if postalAddress.attnName?exists><p><b>${uiLabelMap.PartyAddrAttnName}:</b> ${postalAddress.attnName}</p></#if>
                 <#if postalAddress.address1?exists><p>${postalAddress.address1}</p></#if>
                 <#if postalAddress.address2?exists><p>${postalAddress.address2}</p></#if>
-                <p>${postalAddress.city}<#if postalAddress.stateProvinceGeoId?has_content>,&nbsp;${postalAddress.stateProvinceGeoId}</#if>&nbsp;${postalAddress.postalCode}</p>
+                <p>${postalAddress.city}<#if postalAddress.stateProvinceGeoId?has_content>,&nbsp;${postalAddress.stateProvinceGeoId}</#if>&nbsp;${postalAddress.postalCode?if_exists}</p>
                 <#if postalAddress.countryGeoId?exists><p>${postalAddress.countryGeoId}</p></#if>
                 <p>(${uiLabelMap.CommonUpdated}:&nbsp;${(partyContactMech.fromDate.toString())?if_exists})</p>
                 <#if partyContactMech.thruDate?exists><p><b>${uiLabelMap.CommonDelete}:&nbsp;${partyContactMech.thruDate.toString()}</b></p></#if>