diff --git a/pandora_console/include/functions_pandora_networkmap.php b/pandora_console/include/functions_pandora_networkmap.php index 0d26031172..b54d7cfbc9 100644 --- a/pandora_console/include/functions_pandora_networkmap.php +++ b/pandora_console/include/functions_pandora_networkmap.php @@ -1211,11 +1211,12 @@ function migrate_older_open_maps($id) { return true; } -function show_networkmap($id = 0, $user_readonly = false, $nodes_and_relations = array()) { +function show_networkmap($id = 0, $user_readonly = false, $nodes_and_relations = array(), $dashboard_mode = false) { global $config; - $clean_relations = clean_duplicate_links($nodes_and_relations['relations']); + $hide_minimap = ""; + $nodes_and_relations['relations'] = $clean_relations; $networkmap = db_get_row('tmap', 'id', $id); @@ -1227,19 +1228,22 @@ function show_networkmap($id = 0, $user_readonly = false, $nodes_and_relations = ui_require_css_file("jquery.contextMenu", 'include/javascript/'); echo ''; echo ''; - echo '