2011-08-12 Javier Lanz <javier.lanz@artica.es>

* operation/agentes/exportdata.php: Fixed calculating process to get
        module data within a period.

        Fixes: #3389996



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4723 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
javilanz 2011-08-12 08:04:07 +00:00
parent 5e8478b5fe
commit 90543e1a19
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2011-08-12 Javier Lanz <javier.lanz@artica.es>
* operation/agentes/exportdata.php: Fixed calculating process to get
module data within a period.
Fixes: #3389996
2011-08-11 Sergio Martin <sergio.martin@artica.es>
* include/config_process.php

View File

@ -211,7 +211,6 @@ if (!empty ($export_btn) && !empty ($module)) {
//Buffer to get data, anyway this will report a memory exhaustin
while ($work_end <= $end) {
$work_end = $work_end + $work_period;
$data = array (); // Reinitialize array for each module chunk
if ($export_type == "avg") {
@ -265,6 +264,7 @@ if (!empty ($export_btn) && !empty ($module)) {
$output = "";
unset($data);
unset($data_single);
$work_end = $work_end + $work_period;
}
unset ($output);
$output = "";