Fixed account title symbol issue.. ( #8669n1c9c )
This commit is contained in:
parent
463fc3cb89
commit
43652cd7da
@ -96,7 +96,7 @@ class Account extends Model
|
|||||||
*/
|
*/
|
||||||
public function getTitleAttribute()
|
public function getTitleAttribute()
|
||||||
{
|
{
|
||||||
if ($this->currency->symbol) {
|
if (! empty($this->currency) && ! empty($this->currency->symbol)) {
|
||||||
return $this->name . ' (' . $this->currency->symbol . ')';
|
return $this->name . ' (' . $this->currency->symbol . ')';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user