mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-18 12:28:46 +00:00
Fix missing user property
This commit is contained in:
@@ -674,6 +674,14 @@ class JournalUpdateService
|
|||||||
$this->destinationTransaction->refresh();
|
$this->destinationTransaction->refresh();
|
||||||
Log::debug(sprintf('Updated amount to "%s"', $amount));
|
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(
|
event(new TriggeredAuditLog(
|
||||||
$this->transactionGroup->user,
|
$this->transactionGroup->user,
|
||||||
$this->transactionGroup,
|
$this->transactionGroup,
|
||||||
|
|||||||
Reference in New Issue
Block a user