[OFBiz] SVN: r7064 - trunk/applications/order/webapp/ordermgr/order

jacopo@svn.ofbiz.org jacopo at svn.ofbiz.org
Fri Mar 24 05:44:53 CST 2006


Author: jacopo
Date: 2006-03-24 05:44:46 -0600 (Fri, 24 Mar 2006)
New Revision: 7064

Modified:
   trunk/applications/order/webapp/ordermgr/order/findOrders.ftl
Log:
Fixed possible NPE if store name is missing.

Modified: trunk/applications/order/webapp/ordermgr/order/findOrders.ftl
===================================================================
--- trunk/applications/order/webapp/ordermgr/order/findOrders.ftl	2006-03-24 07:01:14 UTC (rev 7063)
+++ trunk/applications/order/webapp/ordermgr/order/findOrders.ftl	2006-03-24 11:44:46 UTC (rev 7064)
@@ -196,12 +196,12 @@
                 <td>
                   <select name='productStoreId' class='selectBox'>
                     <#if currentProductStore?has_content>
-                    <option value="${currentProductStore.productStoreId}">${currentProductStore.storeName}</option>
+                    <option value="${currentProductStore.productStoreId}">${currentProductStore.storeName?if_exists}</option>
                     <option value="${currentProductStore.productStoreId}">---</option>
                     </#if>
                     <option value="ANY">${uiLabelMap.CommonAnyStore}</option>
                     <#list productStores as store>
-                      <option value="${store.productStoreId}">${store.storeName}</option>
+                      <option value="${store.productStoreId}">${store.storeName?if_exists}</option>
                     </#list>
                   </select>
                 </td>



More information about the Svn mailing list