Fix for #63
Line 11926, added isset to check for index 0: if (is_array($pri_find) && count($pri_find) && isset($pri_find[0])) {
This commit is contained in:
parent
f1cab13251
commit
ebc5cc6a7e
@ -11923,7 +11923,7 @@ class db
|
||||
$stig = $this->get_STIG_By_PDI($find->get_PDI_ID());
|
||||
$pri_find = $this->get_Finding($pri_tgt, $stig);
|
||||
|
||||
if (is_array($pri_find) && count($pri_find)) {
|
||||
if (is_array($pri_find) && count($pri_find) && isset($pri_find[0])) {
|
||||
$pri_find = $pri_find[0];
|
||||
if ($pri_find->get_Finding_Status() != $find->get_Finding_Status()) {
|
||||
$pri_find->set_Finding_Status_By_String($pri_find->get_Deconflicted_Status($find->get_Finding_Status_String()));
|
||||
|
Loading…
Reference in New Issue
Block a user