diff --git a/app/Models/Contact/Contact.php b/app/Models/Contact/Contact.php index bbdf5143db2..953d8352eb7 100644 --- a/app/Models/Contact/Contact.php +++ b/app/Models/Contact/Contact.php @@ -879,7 +879,7 @@ public function getNameAttribute() break; case 'nickname_bracketed_firstname_lastname': $completeName = $this->first_name; - + if (! is_null($this->middle_name)) { $completeName = $completeName.' '.$this->middle_name; }