Merge branch '2225-Vista_de_monitores_no_filtra_por_grupo_Metaconsola' into 'develop'

fixed minor error in monitors view metaconsole filter group

See merge request artica/pandorafms!1457
This commit is contained in:
vgilc 2018-04-27 12:04:43 +02:00
commit 3855e4c378
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ else {
if (((int)$ag_group !== 0) && (check_acl ($config['id_user'], $id_ag_group, 'AR'))) {
$sql_conditions_group = sprintf (
' AND (tagente.id_grupo IN (%s) OR tasg.id_group IN (%s))',
$user_groups, $user_groups
$ag_group, $ag_group
);
}
elseif ($user_groups != '') {