Fixed global search alerts when db engine is oracle. Tiquet: #2651
This commit is contained in:
parent
53f029b2d6
commit
6db4c59c3c
|
@ -168,11 +168,10 @@ if($searchAlerts) {
|
|||
break;
|
||||
}
|
||||
|
||||
$alertsraw = agents_get_alerts_simple($agents, "all_enabled",
|
||||
$alertsraw = agents_get_alerts_simple(false, "all_enabled",
|
||||
array('offset' => get_parameter ('offset', 0),
|
||||
'limit' => $config['block_size'],
|
||||
'order' => $order['field'] . " " . $order['order']),
|
||||
$whereAlerts);
|
||||
'limit' => $config['block_size']), $whereAlerts, false,
|
||||
$order['field'] . " " . $order['order']);
|
||||
|
||||
$stringSearchPHP = substr($stringSearchSQL,1,strlen($stringSearchSQL)-2);
|
||||
|
||||
|
|
Loading…
Reference in New Issue