Fixed db query bug

Former-commit-id: 4eef9808433009c2725956103b4338f70bfe1403
This commit is contained in:
Luis Calvo 2019-03-26 15:57:54 +01:00
parent c3f7dd38d0
commit d890d25574
1 changed files with 1 additions and 1 deletions

View File

@ -1234,7 +1234,7 @@ $class = 'databox filters';
$all_modules = ''; $all_modules = '';
} else { } else {
$all_modules = db_get_all_rows_sql( $all_modules = db_get_all_rows_sql(
'SELECT DISTINCT nombre, id_agente_modulo FROM 'SELECT DISTINCT nombre FROM
tagente_modulo WHERE id_agente IN ('.implode(',', array_values($id_agents)).')' tagente_modulo WHERE id_agente IN ('.implode(',', array_values($id_agents)).')'
); );
} }