fixed issue with cpeSort being null on first row if no CPE is present

This commit is contained in:
Jeremy Long
2016-10-04 06:45:17 -04:00
parent 7dd9a52e78
commit 128a600f18

View File

@@ -644,8 +644,8 @@ Getting Help: <a href="https://groups.google.com/forum/#!forum/dependency-check"
#end #end
<td data-sort-value="$sortValue"> <td data-sort-value="$sortValue">
#set($sortValue="") #set($sortValue="")
#set($cpeSort=0)
#foreach($id in $dependency.getIdentifiers()) #foreach($id in $dependency.getIdentifiers())
#set($cpeSort=0)
#if ($id.type=="maven") #if ($id.type=="maven")
#if ($mavenlink=="" || !$mavenlink.url) #if ($mavenlink=="" || !$mavenlink.url)
#set($mavenlink=$id) #set($mavenlink=$id)