File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -1380,6 +1380,8 @@ private function processInstanceRisks(
13801380 }else {
13811381 $ threat = $ this ->threatTable ->findByAnrAndUuid ($ anr ,(string )$ threatData ['uuid ' ]);
13821382 }
1383+ }else {
1384+ $ threat = $ this ->cachedData ['threats ' ][$ threatData ['uuid ' ]];
13831385 }
13841386
13851387 if (!isset ($ this ->cachedData ['vulnerabilities ' ][$ vulnerabilityData ['uuid ' ]])) {
@@ -1401,7 +1403,8 @@ private function processInstanceRisks(
14011403 else {
14021404 $ vulnerability = $ this ->vulnerabilityTable ->findByAnrAndUuid ($ anr ,(string )$ vulnerabilityData ['uuid ' ]);
14031405 }
1404-
1406+ }else {
1407+ $ vulnerability = $ this ->cachedData ['vulnerabilities ' ][$ vulnerabilityData ['uuid ' ]];
14051408 }
14061409
14071410 $ instanceRisk = $ this ->createInstanceRiskFromData (
You can’t perform that action at this time.
0 commit comments