Merge branch 'ent-9460-14121-Reducir-permisos-necesarios-para-set-module-data' into 'develop'

change permissions

See merge request artica/pandorafms!5127
This commit is contained in:
Daniel Rodriguez 2022-10-21 09:27:47 +00:00
commit be7a5add28
1 changed files with 1 additions and 1 deletions

View File

@ -10135,7 +10135,7 @@ function api_set_module_data($id, $thrash2, $other, $trash1)
}
if ($other['type'] == 'array') {
if (!util_api_check_agent_and_print_error(modules_get_agentmodule_agent($id), 'string', 'AW')) {
if (!util_api_check_agent_and_print_error(modules_get_agentmodule_agent($id), 'string')) {
return;
}