svn commit: r1618350 - /ofbiz/branches/release13.07/applications/accounting/webapp/accounting/period/EditCustomTimePeriod.ftl

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

svn commit: r1618350 - /ofbiz/branches/release13.07/applications/accounting/webapp/accounting/period/EditCustomTimePeriod.ftl

apatel-2
Author: apatel
Date: Sat Aug 16 12:20:43 2014
New Revision: 1618350

URL: http://svn.apache.org/r1618350
Log:
[OFBIZ-5655] Check not null before accessing the variable. Thanks Pierre Smits for reporting and ofbiz.us for fix.

Modified:
    ofbiz/branches/release13.07/applications/accounting/webapp/accounting/period/EditCustomTimePeriod.ftl

Modified: ofbiz/branches/release13.07/applications/accounting/webapp/accounting/period/EditCustomTimePeriod.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/release13.07/applications/accounting/webapp/accounting/period/EditCustomTimePeriod.ftl?rev=1618350&r1=1618349&r2=1618350&view=diff
==============================================================================
--- ofbiz/branches/release13.07/applications/accounting/webapp/accounting/period/EditCustomTimePeriod.ftl (original)
+++ ofbiz/branches/release13.07/applications/accounting/webapp/accounting/period/EditCustomTimePeriod.ftl Sat Aug 16 12:20:43 2014
@@ -78,7 +78,7 @@ under the License.
                   <option value='${allCustomTimePeriod.customTimePeriodId}'<#if isDefault> selected="selected"</#if>>
                     ${allCustomTimePeriod.organizationPartyId}
                     <#if allPeriodType??>${allPeriodType.description}:</#if>
-                    ${allCustomTimePeriod.periodNum}
+                    ${allCustomTimePeriod.periodNum!}
                     [${allCustomTimePeriod.customTimePeriodId}]
                   </option>
                 </#list>
@@ -178,7 +178,7 @@ under the License.
                   <option value='${allCustomTimePeriod.customTimePeriodId}'<#if isDefault> selected="selected"</#if>>
                     ${allCustomTimePeriod.organizationPartyId}
                     <#if allPeriodType??> ${allPeriodType.description}: </#if>
-                    ${allCustomTimePeriod.periodNum}
+                    ${allCustomTimePeriod.periodNum!}
                     [${allCustomTimePeriod.customTimePeriodId}]
                   </option>
                 </#list>
@@ -259,7 +259,7 @@ under the License.
                 ${allCustomTimePeriod.organizationPartyId}
                 <#if (allCustomTimePeriod.parentPeriodId)?exists>Par:${allCustomTimePeriod.parentPeriodId}</#if>
                 <#if allPeriodType??> ${allPeriodType.description}:</#if>
-                ${allCustomTimePeriod.periodNum}
+                ${allCustomTimePeriod.periodNum!}
                 [${allCustomTimePeriod.customTimePeriodId}]
               </option>
             </#list>