aboutsummaryrefslogtreecommitdiff
path: root/src/EmailService.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/EmailService.php')
-rw-r--r--src/EmailService.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/EmailService.php b/src/EmailService.php
index 5d1b2eb..c6d97b4 100644
--- a/src/EmailService.php
+++ b/src/EmailService.php
@@ -67,7 +67,7 @@ class EmailService
67 67
68 // copie en BDD 68 // copie en BDD
69 if(!$test_email && ($form_data->getData()['keep_emails'] ?? self::KEEP_EMAILS_DEFAULT)){ 69 if(!$test_email && ($form_data->getData()['keep_emails'] ?? self::KEEP_EMAILS_DEFAULT)){
70 $db_email = new Email($name, $email, Config::$email_dest, $message); 70 $db_email = new Email($name, $email, Config::$email_dest, $message, $form_data);
71 $entityManager->persist($db_email); 71 $entityManager->persist($db_email);
72 self::updateLastContactDate($entityManager, $email); 72 self::updateLastContactDate($entityManager, $email);
73 $entityManager->flush(); 73 $entityManager->flush();