diff --git a/contactform.php b/contactform.php index 5611496..be1dd9e 100644 --- a/contactform.php +++ b/contactform.php @@ -331,7 +331,7 @@ public function getTemplateVarContact() $contacts[$one_contact['id_contact']] = $one_contact; } - if (isset($this->customer_thread['id_contact'])) { + if (isset($this->customer_thread['id_contact']) && $this->customer_thread['id_contact'] != 0) { return [ $contacts[$this->customer_thread['id_contact']], ];