improvement the last commit(6db4c59)

This commit is contained in:
m-lopez-f 2015-08-31 12:17:53 +02:00
parent 6db4c59c3c
commit 6a3ead3ca4
1 changed files with 2 additions and 1 deletions

View File

@ -165,10 +165,11 @@ if($searchAlerts) {
FROM tagente
WHERE nombre LIKE \'%' . $stringSearchSQL . '%\' ' . $extra_sql . '))
)';
$agents = false;
break;
}
$alertsraw = agents_get_alerts_simple(false, "all_enabled",
$alertsraw = agents_get_alerts_simple($agents, "all_enabled",
array('offset' => get_parameter ('offset', 0),
'limit' => $config['block_size']), $whereAlerts, false,
$order['field'] . " " . $order['order']);