diff --git a/app/Models/Common/Contact.php b/app/Models/Common/Contact.php index 9d5c4174a..982b250f2 100644 --- a/app/Models/Common/Contact.php +++ b/app/Models/Common/Contact.php @@ -162,7 +162,9 @@ class Contact extends Model { $contacts = collect(); - $contacts->push($this); + if (! empty($this->email)) { + $contacts->push($this); + } $contact_persons = $this->contact_persons()->whereNotNull('email')->get();