mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-15 16:57:09 +00:00
Attempt to fix bug #133
This commit is contained in:
@@ -129,10 +129,8 @@ class ChartJsBudgetChartGenerator implements BudgetChartGenerator
|
||||
foreach ($entries as $entry) {
|
||||
$array = [
|
||||
'label' => $entry[0]->formatLocalized($format),
|
||||
'data' => [],
|
||||
'data' => array_shift($entry),
|
||||
];
|
||||
array_shift($entry);
|
||||
$array['data'] = $entry;
|
||||
$data['datasets'][] = $array;
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user