Do not over / undercorrect

This commit is contained in:
James Cole 2015-03-02 20:29:10 +01:00
parent b1af6bab28
commit f0316f09ed

View File

@ -51,9 +51,6 @@ class UpdateJournalConnection
$diff = $amount - $event->amount;
$repetition->currentamount += $diff;
if($repetition->currentamount < 0) {
$repetition->currentamount = 0;
}
$repetition->save();