From daa8aa5c9d47c59528856a18574eda5fff193c23 Mon Sep 17 00:00:00 2001 From: James Cole Date: Fri, 9 Nov 2018 19:00:24 +0100 Subject: [PATCH] Fix for #1858 --- app/Services/Internal/Update/JournalUpdateService.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/Services/Internal/Update/JournalUpdateService.php b/app/Services/Internal/Update/JournalUpdateService.php index 483218200f..89c3e5b9e0 100644 --- a/app/Services/Internal/Update/JournalUpdateService.php +++ b/app/Services/Internal/Update/JournalUpdateService.php @@ -60,6 +60,9 @@ class JournalUpdateService */ public function update(TransactionJournal $journal, array $data): TransactionJournal { + // just in case. + unset($journal->temp_amount); + // update journal: $journal->description = $data['description']; $journal->date = $data['date'];