Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Fixes bug #338
James Coled8586c80439b
diff --git a/app/Rules/Actions/SetBudget.php b/app/Rules/Actions/SetBudget.phpindex 106b9fe706..e85a8da1c4 100644--- a/app/Rules/Actions/SetBudget.php+++ b/app/Rules/Actions/SetBudget.php@@ -48,7 +48,7 @@ class SetBudget implements ActionInterfacepublic function act(TransactionJournal $journal): bool{/** @var BudgetRepositoryInterface $repository */- $repository = app(BudgetRepositoryInterface::class);+ $repository = app(BudgetRepositoryInterface::class, [$journal->user]);$search = $this->action->action_value;$budgets = $repository->getActiveBudgets();$budget = $budgets->filter(