mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-11-30 12:43:57 -06:00
Should not have edited that code. #133
This commit is contained in:
parent
2faae83912
commit
8bab9e84e2
@ -129,8 +129,10 @@ class ChartJsBudgetChartGenerator implements BudgetChartGenerator
|
||||
foreach ($entries as $entry) {
|
||||
$array = [
|
||||
'label' => $entry[0]->formatLocalized($format),
|
||||
'data' => array_shift($entry),
|
||||
'data' => [],
|
||||
];
|
||||
array_shift($entry);
|
||||
$array['data'] = $entry;
|
||||
$data['datasets'][] = $array;
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user