From d253dd1fbd9451cfe4f91cb9f45d3de2481760a7 Mon Sep 17 00:00:00 2001 From: Daniel Maya Date: Tue, 17 Oct 2023 10:37:21 +0200 Subject: [PATCH] #11818 Fixed link --- pandora_console/include/class/NetworkMap.class.php | 2 ++ pandora_console/include/functions_networkmap.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/pandora_console/include/class/NetworkMap.class.php b/pandora_console/include/class/NetworkMap.class.php index 353a17b80e..184e830e9c 100644 --- a/pandora_console/include/class/NetworkMap.class.php +++ b/pandora_console/include/class/NetworkMap.class.php @@ -1590,6 +1590,8 @@ class NetworkMap { global $config; + include_once 'include/functions_os.php'; + $return = []; $count_item_holding_area = 0; foreach ($nodes as $node) { diff --git a/pandora_console/include/functions_networkmap.php b/pandora_console/include/functions_networkmap.php index 5fa9ec2a8d..f5115a73e9 100644 --- a/pandora_console/include/functions_networkmap.php +++ b/pandora_console/include/functions_networkmap.php @@ -4466,7 +4466,7 @@ function networkmap_get_new_nodes_and_links($networkmap, $x, $y) 'id_child' => $child_node, 'id_parent_source_data' => $parent, 'id_child_source_data' => $node['source_data'], - 'parent_type' => 0, + 'parent_type' => 2, 'child_type' => 0, ] );