mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
Avoid empty references
This commit is contained in:
parent
bcb969c3af
commit
f9c3d480ca
@ -1311,6 +1311,8 @@ sub PandoraFMS::Recon::Base::report_scanned_agents($;$) {
|
|||||||
my ($progress, $step) = (90, 10.0 / scalar(@hosts)); # From 90% to 100%.
|
my ($progress, $step) = (90, 10.0 / scalar(@hosts)); # From 90% to 100%.
|
||||||
|
|
||||||
foreach my $addr (keys %{$self->{'agents_found'}}) {
|
foreach my $addr (keys %{$self->{'agents_found'}}) {
|
||||||
|
next if is_empty($addr);
|
||||||
|
|
||||||
my $label = $self->{'agents_found'}->{$addr}{'agent'}{'nombre'};
|
my $label = $self->{'agents_found'}->{$addr}{'agent'}{'nombre'};
|
||||||
|
|
||||||
$self->call('update_progress', $progress);
|
$self->call('update_progress', $progress);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user