From 128a600f182a9bd3fff6b63c54f9e0b44fb2b65f Mon Sep 17 00:00:00 2001 From: Jeremy Long Date: Tue, 4 Oct 2016 06:45:17 -0400 Subject: [PATCH] fixed issue with cpeSort being null on first row if no CPE is present --- .../src/main/resources/templates/HtmlReport.vsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dependency-check-core/src/main/resources/templates/HtmlReport.vsl b/dependency-check-core/src/main/resources/templates/HtmlReport.vsl index b62cd39b4..8f6724209 100644 --- a/dependency-check-core/src/main/resources/templates/HtmlReport.vsl +++ b/dependency-check-core/src/main/resources/templates/HtmlReport.vsl @@ -644,8 +644,8 @@ Getting Help: #set($sortValue="") + #set($cpeSort=0) #foreach($id in $dependency.getIdentifiers()) - #set($cpeSort=0) #if ($id.type=="maven") #if ($mavenlink=="" || !$mavenlink.url) #set($mavenlink=$id)