Minor style fix

Former-commit-id: f730c6b8d4517b750a50ce73d1f940e0110a5f76
This commit is contained in:
fermin831 2019-03-20 18:26:27 +01:00
parent a0f4163c1d
commit 1da6d3710b

View File

@ -299,10 +299,7 @@ function netflow_data_table($data, $start_date, $end_date, $aggregate)
$table->data[$i][1] = network_format_bytes($value['data']); $table->data[$i][1] = network_format_bytes($value['data']);
$i++; $i++;
} }
} } else {
// Aggregates.
else {
$i = 0; $i = 0;
foreach ($data['data'] as $timestamp => $values) { foreach ($data['data'] as $timestamp => $values) {
$table->data[$i][0] = date($time_format, $timestamp); $table->data[$i][0] = date($time_format, $timestamp);
@ -1647,7 +1644,7 @@ function netflow_get_resolution_name($value)
/** /**
* Report formatted subtitle. * Report formatted subtitle.
* *
* @param string $aggreagate Aggregate by param. * @param string $aggregate Aggregate by param.
* @param string $resolution Netfow live view resolution. * @param string $resolution Netfow live view resolution.
* @param string $type Type of view. * @param string $type Type of view.
* *