mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
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:
parent
5e8478b5fe
commit
90543e1a19
@ -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>
|
2011-08-11 Sergio Martin <sergio.martin@artica.es>
|
||||||
|
|
||||||
* include/config_process.php
|
* include/config_process.php
|
||||||
|
@ -211,7 +211,6 @@ if (!empty ($export_btn) && !empty ($module)) {
|
|||||||
//Buffer to get data, anyway this will report a memory exhaustin
|
//Buffer to get data, anyway this will report a memory exhaustin
|
||||||
|
|
||||||
while ($work_end <= $end) {
|
while ($work_end <= $end) {
|
||||||
$work_end = $work_end + $work_period;
|
|
||||||
|
|
||||||
$data = array (); // Reinitialize array for each module chunk
|
$data = array (); // Reinitialize array for each module chunk
|
||||||
if ($export_type == "avg") {
|
if ($export_type == "avg") {
|
||||||
@ -265,6 +264,7 @@ if (!empty ($export_btn) && !empty ($module)) {
|
|||||||
$output = "";
|
$output = "";
|
||||||
unset($data);
|
unset($data);
|
||||||
unset($data_single);
|
unset($data_single);
|
||||||
|
$work_end = $work_end + $work_period;
|
||||||
}
|
}
|
||||||
unset ($output);
|
unset ($output);
|
||||||
$output = "";
|
$output = "";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user