From e1f8ea3b1af779e854b7474b4377638cd1e2b513 Mon Sep 17 00:00:00 2001 From: Sander Dorigo Date: Mon, 15 Dec 2025 14:19:43 +0100 Subject: [PATCH] Fix missing user property --- app/Services/Internal/Update/JournalUpdateService.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/Services/Internal/Update/JournalUpdateService.php b/app/Services/Internal/Update/JournalUpdateService.php index c1ce184cd6..c901eaa9f6 100644 --- a/app/Services/Internal/Update/JournalUpdateService.php +++ b/app/Services/Internal/Update/JournalUpdateService.php @@ -674,6 +674,14 @@ class JournalUpdateService $this->destinationTransaction->refresh(); Log::debug(sprintf('Updated amount to "%s"', $amount)); + $group = $this->transactionGroup; + if(null === $group) { + $group = $this->transactionJournal?->transactionGroup; + } + if(null === $group) { + return; + } + event(new TriggeredAuditLog( $this->transactionGroup->user, $this->transactionGroup,