Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Fix #677
James Cole506509b1b246
diff --git a/app/Http/Controllers/Report/CategoryController.php b/app/Http/Controllers/Report/CategoryController.phpindex 1528f44460..969ea8afdc 100644--- a/app/Http/Controllers/Report/CategoryController.php+++ b/app/Http/Controllers/Report/CategoryController.php@@ -120,7 +120,7 @@ class CategoryController extends Controllerforeach ($categories as $category) {$spent = $repository->spentInPeriod(new Collection([$category]), $accounts, $start, $end);if (bccomp($spent, '0') !== 0) {- $report[$category->id] = ['name' => $category->name, 'spent' => $spent];+ $report[$category->id] = ['name' => $category->name, 'spent' => $spent,'id' => $category->id];}}