mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-12-26 08:51:12 -06:00
Do not over / undercorrect
This commit is contained in:
parent
b1af6bab28
commit
f0316f09ed
@ -51,9 +51,6 @@ class UpdateJournalConnection
|
||||
$diff = $amount - $event->amount;
|
||||
|
||||
$repetition->currentamount += $diff;
|
||||
if($repetition->currentamount < 0) {
|
||||
$repetition->currentamount = 0;
|
||||
}
|
||||
$repetition->save();
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user