php8 incompatibility fixes

This commit is contained in:
fbsanchez 2022-02-07 13:38:45 +01:00
parent aa2b08f516
commit 412104300c
1 changed files with 1 additions and 0 deletions

View File

@ -359,6 +359,7 @@ function grafico_modulo_sparse_data(
$count_data = 0;
$data_last_acum = $array_data['sum1']['data'][0][1];
$array_data_only = [];
while ($period_time_interval > 0) {
foreach ($array_data['sum1']['data'] as $key => $value) {
if ($value[0] >= $start_period