This commit is contained in:
Ryan Prather 2018-11-29 14:32:45 -05:00
parent 16fb5885b2
commit 5849a2620e
No known key found for this signature in database
GPG Key ID: 66FDE2B4E8AB87A7

View File

@ -1211,7 +1211,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)) {
$finding = $finding[0];
$finding = current($finding[0]);
}
if (is_a($finding, 'finding')) {