parent calculation

This commit is contained in:
fbsanchez 2020-04-13 17:16:47 +02:00
parent 189d85d659
commit f6746ba9d8
1 changed files with 1 additions and 0 deletions

View File

@ -1220,6 +1220,7 @@ sub PandoraFMS::Recon::Base::report_scanned_agents($;$) {
# Update parent relationships.
foreach my $agent (@agents) {
# Avoid processing if does not exist.
next unless (defined($agent->{'agent_id'}));