Skip to content
Snippets Groups Projects
Commit 7ec1a2fc authored by Simon Leblanc's avatar Simon Leblanc
Browse files

fix issue #19 : convert html entities in the mail send

parent 03005192
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment