Author: jonesde
Date: Fri Aug 24 06:46:21 2007
New Revision: 569385
URL:
http://svn.apache.org/viewvc?rev=569385&view=revLog:
Small fix for certain funny orders with minimal item information
Modified:
ofbiz/trunk/applications/order/webapp/ordermgr/return/returnItemInc.ftl
Modified: ofbiz/trunk/applications/order/webapp/ordermgr/return/returnItemInc.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/return/returnItemInc.ftl?rev=569385&r1=569384&r2=569385&view=diff==============================================================================
--- ofbiz/trunk/applications/order/webapp/ordermgr/return/returnItemInc.ftl (original)
+++ ofbiz/trunk/applications/order/webapp/ordermgr/return/returnItemInc.ftl Fri Aug 24 06:46:21 2007
@@ -92,7 +92,7 @@
</tr>
<#else>
<#-- this is an order item -->
- <#assign returnItemType = returnItemTypeMap.get(returnableItems.get(orderItem).get("itemTypeKey"))/>
+ <#assign returnItemType = (returnItemTypeMap.get(returnableItems.get(orderItem).get("itemTypeKey")))?if_exists/>
<input type="hidden" name="returnItemTypeId_o_${rowCount}" value="${returnItemType}"/>
<input type="hidden" name="orderId_o_${rowCount}" value="${orderItem.orderId}"/>
<input type="hidden" name="orderItemSeqId_o_${rowCount}" value="${orderItem.orderItemSeqId}"/>