Merge branch '1130-Nombres-de-agente-en-vista-táctica-dev' into 'develop'

Extended number of characters allowed

See merge request !680
This commit is contained in:
vgilc 2017-08-18 12:38:15 +02:00
commit 2d153c1074
1 changed files with 2 additions and 2 deletions

View File

@ -3222,11 +3222,11 @@ function grafico_eventos_grupo ($width = 300, $height = 200, $url = "", $meta =
}
else {
if ($meta) {
$name = mb_substr (io_safe_output($row['agent_name']), 0, 14)." (".$row["count"].")";
$name = mb_substr (io_safe_output($row['agent_name']), 0, 25)." (".$row["count"].")";
}
else {
$alias = agents_get_alias($row["id_agente"]);
$name = mb_substr($alias, 0, 14)." #".$row["id_agente"]." (".$row["count"].")";
$name = mb_substr($alias, 0, 25)." #".$row["id_agente"]." (".$row["count"].")";
}
$data[$name] = $row["count"];
}