Minor fix

This commit is contained in:
Arturo Gonzalez 2015-12-23 16:26:37 +01:00
parent 537fe245f4
commit 2a99093542
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'])) {