Fix maximum data column - #654

This commit is contained in:
enriquecd 2017-11-06 16:15:06 +01:00
parent 9b163ce3e0
commit 74fbd11628
1 changed files with 1 additions and 1 deletions

View File

@ -3973,7 +3973,7 @@ function reporting_value($report, $content, $type,$pdf) {
$value .= '<tr><td style="padding:5px;">'. date("Y-m-d H:i:s", ($i-$content["lapse"]+1)).' to '.date("Y-m-d H:i:s",$i).'</td><td>';
if($i>$time_begin['utimestamp']){
$value .= format_for_graph(reporting_get_agentmodule_data_min(
$value .= format_for_graph(reporting_get_agentmodule_data_max(
$content['id_agent_module'], $content["lapse"], $i), $config['graph_precision']) . ' ' . $unit.'</td></tr>';
}
else{