diff --git a/app/Models/Banking/Account.php b/app/Models/Banking/Account.php index c29751a95..15e88d24a 100644 --- a/app/Models/Banking/Account.php +++ b/app/Models/Banking/Account.php @@ -96,7 +96,7 @@ class Account extends Model */ public function getTitleAttribute() { - if ($this->currency->symbol) { + if (! empty($this->currency) && ! empty($this->currency->symbol)) { return $this->name . ' (' . $this->currency->symbol . ')'; }