Error fixes on the agent counter functions
This commit is contained in:
parent
8e3ccd84bc
commit
24a67be19e
|
@ -1295,7 +1295,7 @@ function groups_get_agents_counter ($group, $agent_filter = array(), $module_fil
|
|||
return count($agents);
|
||||
|
||||
foreach ($agents as $agent) {
|
||||
$agent_filter["id"] = $agent["id"];
|
||||
$agent_filter["id"] = $agent["id_agente"];
|
||||
|
||||
$total = 0;
|
||||
$critical = 0;
|
||||
|
|
|
@ -1427,7 +1427,7 @@ function tags_get_agents_counter ($id_tag, $groups_and_tags = array(), $agent_fi
|
|||
return count($agents);
|
||||
|
||||
foreach ($agents as $agent) {
|
||||
$agent_filter["id"] = $agent["id"];
|
||||
$agent_filter["id"] = $agent["id_agente"];
|
||||
|
||||
$total = 0;
|
||||
$critical = 0;
|
||||
|
|
Loading…
Reference in New Issue