mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Fix #8051
This commit is contained in:
parent
289ccc7d89
commit
1966e12703
@ -100,9 +100,11 @@ class AccountDestroyService
|
||||
$ibAccount->delete();
|
||||
}
|
||||
$journal = TransactionJournal::find($journalId);
|
||||
/** @var JournalDestroyService $service */
|
||||
$service = app(JournalDestroyService::class);
|
||||
$service->destroy($journal);
|
||||
if (null !== $journal) {
|
||||
/** @var JournalDestroyService $service */
|
||||
$service = app(JournalDestroyService::class);
|
||||
$service->destroy($journal);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user