Author: jacopoc
Date: Wed Nov 1 03:31:31 2006
New Revision: 469867
URL:
http://svn.apache.org/viewvc?view=rev&rev=469867Log:
Fixed NPE.
Modified:
incubator/ofbiz/trunk/applications/order/webapp/ordermgr/return/returnItems.ftl
Modified: incubator/ofbiz/trunk/applications/order/webapp/ordermgr/return/returnItems.ftl
URL:
http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/order/webapp/ordermgr/return/returnItems.ftl?view=diff&rev=469867&r1=469866&r2=469867==============================================================================
--- incubator/ofbiz/trunk/applications/order/webapp/ordermgr/return/returnItems.ftl (original)
+++ incubator/ofbiz/trunk/applications/order/webapp/ordermgr/return/returnItems.ftl Wed Nov 1 03:31:31 2006
@@ -185,7 +185,11 @@
</div></td>
<td><div class="tabletext">
<#if readOnly>
- ${status.get("description",locale)?default("N/A")}
+ <#if status?has_content>
+ ${status.get("description",locale)}
+ <#else>
+ N/A
+ </#if>
<#else>
<select name="expectedItemStatus_o_${rowCount}" class='selectBox'>
<#if (status?has_content)>