diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index e08e7c7964..5c62f0d448 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2009-10-26 Miguel de Dios + + * pandora_console/operation/agentes/exportdata.php: fix the export data + the order of dates were wrong. + 2009-10-26 Miguel de Dios * pandora_console/godmode/alerts/alert_list.php: fix bug that load ajax diff --git a/pandora_console/operation/agentes/exportdata.php b/pandora_console/operation/agentes/exportdata.php index bd7a37f404..9a516dc2b3 100644 --- a/pandora_console/operation/agentes/exportdata.php +++ b/pandora_console/operation/agentes/exportdata.php @@ -92,8 +92,7 @@ if (!empty ($export_btn) && !empty ($module)) { case "excel": case "csv": foreach ($module as $selected) { - $data_single = get_agentmodule_data ($selected, $period, $start); - + $data_single = get_agentmodule_data ($selected, $period, $end); if (!empty ($data_single)) { $data = array_merge ($data, $data_single); } @@ -102,7 +101,7 @@ if (!empty ($export_btn) && !empty ($module)) { case "avg": foreach ($module as $selected) { $arr = array (); - $arr["data"] = get_agentmodule_data_average ($selected, $period, $start); + $arr["data"] = get_agentmodule_data_average ($selected, $period, $end); if ($arr["data"] === false) { continue; }