mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 00:04:37 +02:00
#11698 The modules are added to the select Cascade protection modules in the agent configuration
This commit is contained in:
parent
8fd3ed6650
commit
6c54a877db
@ -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');
|
||||
|
Loading…
x
Reference in New Issue
Block a user