diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 6cf075b0a4..d23edc80e5 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,9 @@ +2010-12-22 Ramon Novoa + + * include/functions_reporting.php, + operation/reporting/reporting_xml.php: Draw baseline reports + in the future by default. + 2010-12-22 Ramon Novoa * operation/agentes/exportdata.php: Fixed data average export. diff --git a/pandora_console/include/functions_reporting.php b/pandora_console/include/functions_reporting.php index 2f18b7f3ec..13d5a99f17 100644 --- a/pandora_console/include/functions_reporting.php +++ b/pandora_console/include/functions_reporting.php @@ -1686,7 +1686,7 @@ function render_report_html_item ($content, $table, $report, $mini = false) { } $data = array (); - $data[0] = ''; + $data[0] = ''; array_push ($table->data, $data); break; diff --git a/pandora_console/operation/reporting/reporting_xml.php b/pandora_console/operation/reporting/reporting_xml.php index 430d65b92a..0f989dd158 100644 --- a/pandora_console/operation/reporting/reporting_xml.php +++ b/pandora_console/operation/reporting/reporting_xml.php @@ -182,7 +182,7 @@ foreach ($contents as $content) { break; case 'simple_baseline_graph': $data["title"] = __('Simple baseline graph'); - $data["objdata"]["img"] = 'include/fgraph.php?PHPSESSID='.$session_id.'&tipo=sparse&id='.$content['id_agent_module'].'&height=230&width=720&period='.$content['period'].'&date='.$datetime.'&avg_only=1&baseline=1&pure=1'; + $data["objdata"]["img"] = 'include/fgraph.php?PHPSESSID='.$session_id.'&tipo=sparse&id='.$content['id_agent_module'].'&height=230&width=720&period='.$content['period'].'&date='.($datetime + $content['period']).'&avg_only=1&baseline=1&pure=1'; break; case 2: case 'custom_graph':