mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 08:14:38 +02:00
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>
|
2009-10-26 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
* pandora_console/godmode/alerts/alert_list.php: fix bug that load ajax
|
* 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 "excel":
|
||||||
case "csv":
|
case "csv":
|
||||||
foreach ($module as $selected) {
|
foreach ($module as $selected) {
|
||||||
$data_single = get_agentmodule_data ($selected, $period, $start);
|
$data_single = get_agentmodule_data ($selected, $period, $end);
|
||||||
|
|
||||||
if (!empty ($data_single)) {
|
if (!empty ($data_single)) {
|
||||||
$data = array_merge ($data, $data_single);
|
$data = array_merge ($data, $data_single);
|
||||||
}
|
}
|
||||||
@ -102,7 +101,7 @@ if (!empty ($export_btn) && !empty ($module)) {
|
|||||||
case "avg":
|
case "avg":
|
||||||
foreach ($module as $selected) {
|
foreach ($module as $selected) {
|
||||||
$arr = array ();
|
$arr = array ();
|
||||||
$arr["data"] = get_agentmodule_data_average ($selected, $period, $start);
|
$arr["data"] = get_agentmodule_data_average ($selected, $period, $end);
|
||||||
if ($arr["data"] === false) {
|
if ($arr["data"] === false) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user