svn commit: r469867 - /incubator/ofbiz/trunk/applications/order/webapp/ordermgr/return/returnItems.ftl

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r469867 - /incubator/ofbiz/trunk/applications/order/webapp/ordermgr/return/returnItems.ftl

jacopoc
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)>