diff --git a/studs.php b/studs.php
index ed7649e1df017747abb56f3760b009ee504cf29a..1bf36d70ed01cab9ae22e14ec0aa68f64f4079cc 100644
--- a/studs.php
+++ b/studs.php
@@ -308,7 +308,7 @@ if ($testmodifier) {
       
       if ($dsondage->mailsonde=="yes") {
         $headers="From: ".NOMAPPLICATION." <".ADRESSEMAILADMIN.">\r\nContent-Type: text/plain; charset=\"UTF-8\"\nContent-Transfer-Encoding: 8bit";
-        mail ("$dsondage->mail_admin", "[".NOMAPPLICATION."] " . _("Poll's participation") . " : $dsondage->titre", "\"$data->nom\""."" . _("has filled a line.\nYou can find your poll at the link") . " :\n\n".getUrlSondage($numsondage)." \n\n" . _("Thanks for your confidence.") . "\n".NOMAPPLICATION,$headers);
+        mail ("$dsondage->mail_admin", "[".NOMAPPLICATION."] " . _("Poll's participation") . " : ".htmlspecialchars_decode($dsondage->titre, ENT_QUOTES), "\"".htmlspecialchars_decode($data->nom, ENT_QUOTES)."\""."" . _("has filled a line.\nYou can find your poll at the link") . " :\n\n".getUrlSondage($numsondage)." \n\n" . _("Thanks for your confidence.") . "\n".NOMAPPLICATION,$headers);
       }
     }