Merge branch 'ent-11698-proteccion-en-cascada-de-modulos-no-se-puede-configurar' into 'develop'

Ent 11698 proteccion en cascada de modulos no se puede configurar

See merge request artica/pandorafms!6216
This commit is contained in:
Rafael Ameijeiras 2023-07-25 10:34:53 +00:00
commit b4742f9e46
1 changed files with 1 additions and 1 deletions

View File

@ -212,7 +212,7 @@ $groups = users_get_groups($config['id_user'], 'AR', false);
// Get modules.
$modules = db_get_all_rows_sql(
'SELECT id_agente_modulo as id_module, nombre as name FROM tagente_modulo
WHERE id_agente = '.$id_parent
WHERE id_agente = '.$id_agente
);
$modules_values = [];
$modules_values[0] = __('Any');