From 76ab4d7ce5a554a021f77c47cc855e6d9977e920 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 2 Feb 2025 01:21:57 +0100 Subject: [PATCH] Update emailcollector.class.php --- htdocs/emailcollector/class/emailcollector.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/emailcollector/class/emailcollector.class.php b/htdocs/emailcollector/class/emailcollector.class.php index 95aea5f8e36..082b4ac6f67 100644 --- a/htdocs/emailcollector/class/emailcollector.class.php +++ b/htdocs/emailcollector/class/emailcollector.class.php @@ -3346,7 +3346,7 @@ class EmailCollector extends CommonObject //$tickettocreate->email_fields_no_propagate_in_actioncomm = 0; // Add sender to context array to make sure that confirmation e-mail can be sent by trigger script - $sender_contact = New Contact($this->db); + $sender_contact = new Contact($this->db); $sender_contact->fetch(0, null, '', $from); if (!empty($sender_contact->id)) { $tickettocreate->context['contactid'] = $sender_contact->id;