Minor fix

This commit is contained in:
Arturo Gonzalez 2015-12-23 16:25:28 +01:00
parent 54e0f25947
commit d7b8bdc369
1 changed files with 4 additions and 3 deletions

View File

@ -901,9 +901,10 @@ function agents_get_group_agents ($id_group = 0, $search = false,
}
unset($search['status']);
}
if (isset($search['id_agente'])) {
$filter['id_agente'] = $search['id_agente'];
if ($add_alert_bulk_op) {
if (isset($search['id_agente'])) {
$filter['id_agente'] = $search['id_agente'];
}
}
if (is_metaconsole() && isset($search['id_server'])) {