mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
#9017 Fixed alert list
This commit is contained in:
parent
aae68408a1
commit
37c8fe73df
@ -238,6 +238,9 @@ if ($searchFlag) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$id_agents = array_keys($agents);
|
$id_agents = array_keys($agents);
|
||||||
|
if (empty($id_agents) === true) {
|
||||||
|
$id_agents[0] = 0;
|
||||||
|
}
|
||||||
|
|
||||||
$total = agents_get_alerts_simple(
|
$total = agents_get_alerts_simple(
|
||||||
(empty($agent_id) === false) ? ['0' => $agent_id] : $id_agents,
|
(empty($agent_id) === false) ? ['0' => $agent_id] : $id_agents,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user