diff --git a/exec/parse_nessus.php b/exec/parse_nessus.php index cf3fd0e..ee6e56d 100644 --- a/exec/parse_nessus.php +++ b/exec/parse_nessus.php @@ -1210,7 +1210,7 @@ class nessus_parser extends scan_xml_parser } $finding = $this->db->get_Finding($this->tgt, $this->plugin->db_plugin); - if (is_array($finding) && count($finding)) { + if (is_array($finding) && count($finding) && isset($finding[0])) { $finding = current($finding[0]); }