diff --git a/dependency-check-core/src/main/resources/templates/HtmlReport.vsl b/dependency-check-core/src/main/resources/templates/HtmlReport.vsl index 35f673c9e..be8b487be 100644 --- a/dependency-check-core/src/main/resources/templates/HtmlReport.vsl +++ b/dependency-check-core/src/main/resources/templates/HtmlReport.vsl @@ -578,6 +578,7 @@ arising out of or in connection with the use of this tool, the analysis performe #set($sortValue="") #foreach($id in $dependency.getIdentifiers()) + #set($cpeSort=0) #if ($id.type=="maven") #if ($mavenlink=="" || !$mavenlink.url) #set($mavenlink=$id) @@ -591,7 +592,6 @@ arising out of or in connection with the use of this tool, the analysis performe #else $enc.html($id.value) #end - #set($cpeSort=0) #if ($cpeIdConf == "") #set($cpeIdConf=$id.confidence) #set($cpeSort=$id.confidence.ordinal())