mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 17:25:26 +02:00
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(
|
$parent_id = PandoraFMS::Core::locate_agent(
|
||||||
$pa_config, $dbh, $agent->{'parent_agent_name'}
|
$pa_config, $dbh, $agent->{'parent_agent_name'}
|
||||||
);
|
);
|
||||||
|
if ($parent_id) {
|
||||||
|
$parent_id = $parent_id->{'id_agente'};
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
my $agent_id;
|
my $agent_id;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user