You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ja...@apache.org on 2006/11/01 12:31:32 UTC
svn commit: r469867 -
/incubator/ofbiz/trunk/applications/order/webapp/ordermgr/return/returnItems.ftl
Author: jacopoc
Date: Wed Nov 1 03:31:31 2006
New Revision: 469867
URL: http://svn.apache.org/viewvc?view=rev&rev=469867
Log:
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)>