svn commit: r600699 - /ofbiz/trunk/applications/order/webapp/ordermgr/quote/quoteReportContactMechs.fo.ftl

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r600699 - /ofbiz/trunk/applications/order/webapp/ordermgr/quote/quoteReportContactMechs.fo.ftl

sichen
Author: sichen
Date: Mon Dec  3 13:45:32 2007
New Revision: 600699

URL: http://svn.apache.org/viewvc?rev=600699&view=rev
Log:
Fix NPE in Quote PDF if city is left blank

Modified:
    ofbiz/trunk/applications/order/webapp/ordermgr/quote/quoteReportContactMechs.fo.ftl

Modified: ofbiz/trunk/applications/order/webapp/ordermgr/quote/quoteReportContactMechs.fo.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/quote/quoteReportContactMechs.fo.ftl?rev=600699&r1=600698&r2=600699&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/webapp/ordermgr/quote/quoteReportContactMechs.fo.ftl (original)
+++ ofbiz/trunk/applications/order/webapp/ordermgr/quote/quoteReportContactMechs.fo.ftl Mon Dec  3 13:45:32 2007
@@ -41,7 +41,7 @@
                             <#if toPostalAddress?exists>
                             <fo:block>${toPostalAddress.address1?if_exists}</fo:block>
                             <fo:block>${toPostalAddress.address2?if_exists}</fo:block>
-                            <fo:block>${toPostalAddress.city}<#if toPostalAddress.stateProvinceGeoId?has_content>, ${toPostalAddress.stateProvinceGeoId}</#if> ${toPostalAddress.postalCode?if_exists}</fo:block>
+                            <fo:block>${toPostalAddress.city?if_exists}<#if toPostalAddress.stateProvinceGeoId?has_content>, ${toPostalAddress.stateProvinceGeoId}</#if> ${toPostalAddress.postalCode?if_exists}</fo:block>
                             </#if>
                         </fo:block>
                     </fo:table-cell>