Author: sichen
Date: Thu Jul 13 16:58:35 2006
New Revision: 421749
URL:
http://svn.apache.org/viewvc?rev=421749&view=revLog:
Fix a potential NPE in the picklist when there are no picklist bin info
Modified:
incubator/ofbiz/trunk/applications/product/webapp/facility/facility/Picklist.fo.ftl
Modified: incubator/ofbiz/trunk/applications/product/webapp/facility/facility/Picklist.fo.ftl
URL:
http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/product/webapp/facility/facility/Picklist.fo.ftl?rev=421749&r1=421748&r2=421749&view=diff==============================================================================
--- incubator/ofbiz/trunk/applications/product/webapp/facility/facility/Picklist.fo.ftl (original)
+++ incubator/ofbiz/trunk/applications/product/webapp/facility/facility/Picklist.fo.ftl Thu Jul 13 16:58:35 2006
@@ -199,7 +199,7 @@
<#list picklistInfo.picklistBinInfoList as picklistBinInfo>
<#assign rowColor = "white">
<#assign picklistBin = picklistBinInfo.picklistBin>
- <#assign picklistItemInfoList = picklistBinInfo.picklistItemInfoList>
+ <#assign picklistItemInfoList = picklistBinInfo.picklistItemInfoList?if_exists>
<fo:page-sequence master-reference="main">
<fo:flow flow-name="xsl-region-body" font-family="Helvetica">
<fo:block text-align="right">