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

jacopo@svn.ofbiz.org jacopo at svn.ofbiz.org
Thu Mar 23 04:08:41 CST 2006


Author: jacopo
Date: 2006-03-23 04:08:24 -0600 (Thu, 23 Mar 2006)
New Revision: 7056

Modified:
   trunk/applications/order/webapp/ordermgr/entry/checkinits.ftl
Log:
Fixed NPE if storeName is missing.

Modified: trunk/applications/order/webapp/ordermgr/entry/checkinits.ftl
===================================================================
--- trunk/applications/order/webapp/ordermgr/entry/checkinits.ftl	2006-03-23 09:44:48 UTC (rev 7055)
+++ trunk/applications/order/webapp/ordermgr/entry/checkinits.ftl	2006-03-23 10:08:24 UTC (rev 7056)
@@ -69,7 +69,7 @@
               <select class="selectBox" name="productStoreId"<#if sessionAttributes.orderMode?exists> disabled</#if>>
                 <#assign currentStore = shoppingCartProductStore>
                 <#list productStores as productStore>
-                  <option value="${productStore.productStoreId}"<#if productStore.productStoreId == currentStore> selected</#if>>${productStore.storeName}</option>
+                  <option value="${productStore.productStoreId}"<#if productStore.productStoreId == currentStore> selected</#if>>${productStore.storeName?if_exists}</option>
                 </#list>
               </select>
               <#if sessionAttributes.orderMode?exists>${uiLabelMap.OrderCannotBeChanged}</#if>



More information about the Svn mailing list