From 43652cd7dad48ce60ee1c7cba71dca848731fe5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=BCneyt=20=C5=9Eent=C3=BCrk?= Date: Wed, 15 Mar 2023 14:52:22 +0300 Subject: [PATCH] Fixed account title symbol issue.. ( #8669n1c9c ) --- app/Models/Banking/Account.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 . ')'; }