diff --git a/pandora_console/include/functions_api.php b/pandora_console/include/functions_api.php index 551585305b..3d162c1a8b 100644 --- a/pandora_console/include/functions_api.php +++ b/pandora_console/include/functions_api.php @@ -15064,7 +15064,7 @@ function api_set_add_permission_user_to_group($thrash1, $thrash2, $other, $retur 'id_perfil' => $other['data'][2], 'id_grupo' => $other['data'][1], 'no_hierarchy' => $other['data'][3], - 'assigned_by' => 0, + 'assigned_by' => $config['id_user'], 'id_policy' => 0, 'tags' => '',