Fixed a minor warning

This commit is contained in:
Fermin 2018-10-08 18:53:21 +02:00
parent f952d5c70e
commit 052d888ac4
1 changed files with 1 additions and 0 deletions

View File

@ -327,6 +327,7 @@ $agents = agents_get_group_agents (array_keys ($groups));
$modules = db_get_all_rows_sql("SELECT id_agente_modulo as id_module, nombre as name FROM tagente_modulo
WHERE id_agente = " . $id_parent);
if ($modules === false) $modules = array();
$modules_values = array();
$modules_values[0] = __('Any');