Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Should not have edited that code. #133
James Cole8bab9e84e258
diff --git a/app/Generator/Chart/Budget/ChartJsBudgetChartGenerator.php b/app/Generator/Chart/Budget/ChartJsBudgetChartGenerator.phpindex ea808d30c6..42608e027d 100644--- a/app/Generator/Chart/Budget/ChartJsBudgetChartGenerator.php+++ b/app/Generator/Chart/Budget/ChartJsBudgetChartGenerator.php@@ -129,8 +129,10 @@ class ChartJsBudgetChartGenerator implements BudgetChartGeneratorforeach ($entries as $entry) {$array = ['label' => $entry[0]->formatLocalized($format),- 'data' => array_shift($entry),+ 'data' => [],];+ array_shift($entry);+ $array['data'] = $entry;$data['datasets'][] = $array;}