2009-10-26 Miguel de Dios <miguel.dedios@artica.es>
* pandora_console/operation/agentes/exportdata.php: fix the export data the order of dates were wrong. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2050 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
483f0d8c9b
commit
f8517f0639
|
@ -1,3 +1,8 @@
|
|||
2009-10-26 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* pandora_console/operation/agentes/exportdata.php: fix the export data
|
||||
the order of dates were wrong.
|
||||
|
||||
2009-10-26 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* pandora_console/godmode/alerts/alert_list.php: fix bug that load ajax
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue