mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-15 19:09:50 +00:00
Fix #6964
This commit is contained in:
@@ -297,7 +297,7 @@ class CreateAutoBudgetLimits implements ShouldQueue
|
|||||||
Log::info(sprintf('The amount left is negative, so it will be reset to %s.', $totalAmount));
|
Log::info(sprintf('The amount left is negative, so it will be reset to %s.', $totalAmount));
|
||||||
}
|
}
|
||||||
if (1 !== bccomp('0', $budgetLeft)) {
|
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));
|
Log::info(sprintf('The amount left is positive, so the new amount will be %s.', $totalAmount));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user