Skip to content

Firefly III: a personal finances manager

Fix https://github.com/firefly-iii/firefly-iii/issues/12014

James Colea62f8bbaff64
diff --git a/app/Services/Internal/Update/JournalUpdateService.php b/app/Services/Internal/Update/JournalUpdateService.php
index e0d5acf65d..421ad1102c 100644
--- a/app/Services/Internal/Update/JournalUpdateService.php
+++ b/app/Services/Internal/Update/JournalUpdateService.php
@@ -774,8 +774,8 @@ class JournalUpdateService
$this->transactionJournal,
'update_foreign_amount',
[
- 'currency_symbol' => $oldForeignCurrency->symbol,
- 'decimal_places' => $oldForeignCurrency->decimal_places,
+ 'currency_symbol' => $oldForeignCurrency?->symbol,
+ 'decimal_places' => $oldForeignCurrency?->decimal_places,
'amount' => $originalSourceAmount,
],
[