Only average token for graphs fix - #1460
This commit is contained in:
parent
ebc209e7eb
commit
24770c79ac
|
@ -139,7 +139,7 @@ $alias = db_get_value ("alias","tagente","id_agente",$id_agent);
|
|||
|
||||
$draw_alerts = get_parameter("draw_alerts", 0);
|
||||
|
||||
if(isset($config['only_average'])){
|
||||
if(isset($config['only_average']) && $config['only_average']){
|
||||
$avg_only = 1;
|
||||
}
|
||||
else {
|
||||
|
@ -147,7 +147,7 @@ $alias = db_get_value ("alias","tagente","id_agente",$id_agent);
|
|||
}
|
||||
|
||||
$show_other = get_parameter('show_other');
|
||||
if (isset($show_other)) {
|
||||
if (isset($show_other) && $show_other) {
|
||||
$avg_only = $show_other;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue