diff --git a/app/Models/Common/Contact.php b/app/Models/Common/Contact.php index 2583f750a..d69b84d6d 100644 --- a/app/Models/Common/Contact.php +++ b/app/Models/Common/Contact.php @@ -270,14 +270,14 @@ class Contact extends Model $location[] = $this->city; } - if ($this->zip_code) { - $location[] = $this->zip_code; - } - if ($this->state) { $location[] = $this->state; } + if ($this->zip_code) { + $location[] = $this->zip_code; + } + if ($this->country && array_key_exists($this->country, trans('countries'))) { $location[] = trans('countries.' . $this->country); }