php8 incompatibility fixes
This commit is contained in:
parent
aa2b08f516
commit
412104300c
|
@ -359,6 +359,7 @@ function grafico_modulo_sparse_data(
|
||||||
$count_data = 0;
|
$count_data = 0;
|
||||||
$data_last_acum = $array_data['sum1']['data'][0][1];
|
$data_last_acum = $array_data['sum1']['data'][0][1];
|
||||||
|
|
||||||
|
$array_data_only = [];
|
||||||
while ($period_time_interval > 0) {
|
while ($period_time_interval > 0) {
|
||||||
foreach ($array_data['sum1']['data'] as $key => $value) {
|
foreach ($array_data['sum1']['data'] as $key => $value) {
|
||||||
if ($value[0] >= $start_period
|
if ($value[0] >= $start_period
|
||||||
|
|
Loading…
Reference in New Issue