From f0316f09ed0c50df5016b79c12b6bec52afc21ee Mon Sep 17 00:00:00 2001 From: James Cole Date: Mon, 2 Mar 2015 20:29:10 +0100 Subject: [PATCH] Do not over / undercorrect --- app/Handlers/Events/UpdateJournalConnection.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/Handlers/Events/UpdateJournalConnection.php b/app/Handlers/Events/UpdateJournalConnection.php index beeb58e42f..6ae95a6c9d 100644 --- a/app/Handlers/Events/UpdateJournalConnection.php +++ b/app/Handlers/Events/UpdateJournalConnection.php @@ -51,9 +51,6 @@ class UpdateJournalConnection $diff = $amount - $event->amount; $repetition->currentamount += $diff; - if($repetition->currentamount < 0) { - $repetition->currentamount = 0; - } $repetition->save();