mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
#8270 Fixed delete links
This commit is contained in:
parent
69590afef6
commit
fb80350f99
@ -480,7 +480,7 @@ if (is_ajax() === true) {
|
|||||||
$return = [];
|
$return = [];
|
||||||
$return['correct'] = false;
|
$return['correct'] = false;
|
||||||
|
|
||||||
// ACL for the network map
|
// ACL for the network map.
|
||||||
$id_group = db_get_value('id_group', 'tmap', 'id', $networkmap_id);
|
$id_group = db_get_value('id_group', 'tmap', 'id', $networkmap_id);
|
||||||
// $networkmap_read = check_acl ($config['id_user'], $id_group, "MR");
|
// $networkmap_read = check_acl ($config['id_user'], $id_group, "MR");
|
||||||
$networkmap_write = check_acl($config['id_user'], $id_group, 'MW');
|
$networkmap_write = check_acl($config['id_user'], $id_group, 'MW');
|
||||||
@ -497,9 +497,7 @@ if (is_ajax() === true) {
|
|||||||
|
|
||||||
$return['correct'] = networkmap_delete_link(
|
$return['correct'] = networkmap_delete_link(
|
||||||
$networkmap_id,
|
$networkmap_id,
|
||||||
$source_id,
|
|
||||||
$source_module_id,
|
$source_module_id,
|
||||||
$target_id,
|
|
||||||
$target_module_id,
|
$target_module_id,
|
||||||
$id_link
|
$id_link
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user