Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Fix #6964
James Cole74777a648c6e
diff --git a/app/Jobs/CreateAutoBudgetLimits.php b/app/Jobs/CreateAutoBudgetLimits.phpindex daba57ce75..e439113929 100644--- a/app/Jobs/CreateAutoBudgetLimits.php+++ b/app/Jobs/CreateAutoBudgetLimits.php@@ -297,7 +297,7 @@ class CreateAutoBudgetLimits implements ShouldQueueLog::info(sprintf('The amount left is negative, so it will be reset to %s.', $totalAmount));}if (1 !== bccomp('0', $budgetLeft)) {- $totalAmount = bcadd($budgetLeft, $budgetLimit->amount);+ $totalAmount = bcadd($budgetLeft, $totalAmount);Log::info(sprintf('The amount left is positive, so the new amount will be %s.', $totalAmount));}