Error fixes on the agent counter functions

This commit is contained in:
Alejandro Gallardo Escobar 2015-03-12 17:30:29 +01:00
parent 8e3ccd84bc
commit 24a67be19e
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;