mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 01:05:39 +02:00
Merge branch '1924-dbuncompress' into 'develop'
Fixed dbuncompress short unknown events See merge request artica/pandorafms!1302
This commit is contained in:
commit
e47ddb3d47
@ -851,7 +851,7 @@ function db_uncompress_module_data($id_agente_modulo, $tstart = false, $tend = f
|
|||||||
$tmp_data["utimestamp"] = $current_unknown["time_to"];
|
$tmp_data["utimestamp"] = $current_unknown["time_to"];
|
||||||
//Add order to avoid usort missorder in same utimestamp data cells
|
//Add order to avoid usort missorder in same utimestamp data cells
|
||||||
$tmp_data["order"] = 2;
|
$tmp_data["order"] = 2;
|
||||||
$i = count($data_slices) - 1;
|
$i = count($data_slices);
|
||||||
while ($i >= 0) {
|
while ($i >= 0) {
|
||||||
if($data_slices[$i]['utimestamp'] <= $current_unknown["time_to"]){
|
if($data_slices[$i]['utimestamp'] <= $current_unknown["time_to"]){
|
||||||
$tmp_data["datos"] =
|
$tmp_data["datos"] =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user