Minor fix

This commit is contained in:
Arturo Gonzalez 2015-12-23 16:26:37 +01:00
parent 537fe245f4
commit 2a99093542

View File

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