mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
Fix disabled agents filling
This commit is contained in:
parent
855686772f
commit
4f0ba4cb64
@ -1879,7 +1879,9 @@ sub PandoraFMS::Recon::Base::create_agents($$) {
|
||||
$force_processing = 1;
|
||||
|
||||
} else {
|
||||
$agent_id = $current_agent->{'id_agente'};
|
||||
if ($current_agent->{'disabled'} eq '0') {
|
||||
$agent_id = $current_agent->{'id_agente'};
|
||||
}
|
||||
}
|
||||
|
||||
if (!defined($agent_id)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user