From fb80350f995275e13e5d505459e36c41acf07a09 Mon Sep 17 00:00:00 2001 From: Daniel Maya Date: Thu, 2 Dec 2021 13:46:29 +0100 Subject: [PATCH] #8270 Fixed delete links --- pandora_console/operation/agentes/pandora_networkmap.view.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pandora_console/operation/agentes/pandora_networkmap.view.php b/pandora_console/operation/agentes/pandora_networkmap.view.php index 3a1be747e1..3b29b6317f 100644 --- a/pandora_console/operation/agentes/pandora_networkmap.view.php +++ b/pandora_console/operation/agentes/pandora_networkmap.view.php @@ -480,7 +480,7 @@ if (is_ajax() === true) { $return = []; $return['correct'] = false; - // ACL for the network map + // ACL for the network map. $id_group = db_get_value('id_group', 'tmap', 'id', $networkmap_id); // $networkmap_read = check_acl ($config['id_user'], $id_group, "MR"); $networkmap_write = check_acl($config['id_user'], $id_group, 'MW'); @@ -497,9 +497,7 @@ if (is_ajax() === true) { $return['correct'] = networkmap_delete_link( $networkmap_id, - $source_id, $source_module_id, - $target_id, $target_module_id, $id_link );