Fixed dbuncompress short unknown events

This commit is contained in:
fbsanchez 2018-02-15 11:19:44 +01:00
parent e83201c457
commit df0480d12a
1 changed files with 1 additions and 1 deletions

View File

@ -851,7 +851,7 @@ function db_uncompress_module_data($id_agente_modulo, $tstart = false, $tend = f
$tmp_data["utimestamp"] = $current_unknown["time_to"];
//Add order to avoid usort missorder in same utimestamp data cells
$tmp_data["order"] = 2;
$i = count($data_slices) - 1;
$i = count($data_slices);
while ($i >= 0) {
if($data_slices[$i]['utimestamp'] <= $current_unknown["time_to"]){
$tmp_data["datos"] =