fixed minor errors

This commit is contained in:
daniel 2017-10-13 14:44:12 +02:00
parent 4d5a129ec4
commit 8fbe360333
1 changed files with 0 additions and 6 deletions

View File

@ -171,7 +171,6 @@ $alias = db_get_value ("alias","tagente","id_agente",$id_agent);
$time_compare_overlapped = get_parameter ("time_compare_overlapped", 0); $time_compare_overlapped = get_parameter ("time_compare_overlapped", 0);
$unknown_graph = get_parameter_checkbox ("unknown_graph", 1); $unknown_graph = get_parameter_checkbox ("unknown_graph", 1);
//$type_module == 'predictionserver'; //$type_module == 'predictionserver';
$fullscale_sent = get_parameter ("fullscale_sent", 0); $fullscale_sent = get_parameter ("fullscale_sent", 0);
if(!$fullscale_sent){ if(!$fullscale_sent){
@ -183,10 +182,8 @@ $alias = db_get_value ("alias","tagente","id_agente",$id_agent);
} }
elseif($config['full_scale_option'] == 2){ elseif($config['full_scale_option'] == 2){
if($graph_type == 'boolean'){ if($graph_type == 'boolean'){
html_debug_print('entra1');
$fullscale = 1; $fullscale = 1;
}else{ }else{
html_debug_print('entra2');
$fullscale = 0; $fullscale = 0;
} }
} }
@ -194,9 +191,6 @@ $alias = db_get_value ("alias","tagente","id_agente",$id_agent);
else{ else{
$fullscale = get_parameter('fullscale', 0); $fullscale = get_parameter('fullscale', 0);
} }
html_debug_print($fullscale);
// To avoid the horizontal overflow // To avoid the horizontal overflow
$width -= 20; $width -= 20;