minor fix parent link
Former-commit-id: a2330dd0159ad58c454a06b7efe16699f7cee84a
This commit is contained in:
parent
143c501a6e
commit
e76a5af441
|
@ -450,6 +450,9 @@ sub PandoraFMS::Recon::Base::create_agents($$) {
|
|||
$parent_id = PandoraFMS::Core::locate_agent(
|
||||
$pa_config, $dbh, $agent->{'parent_agent_name'}
|
||||
);
|
||||
if ($parent_id) {
|
||||
$parent_id = $parent_id->{'id_agente'};
|
||||
}
|
||||
}
|
||||
|
||||
my $agent_id;
|
||||
|
|
Loading…
Reference in New Issue