X-Git-Url: https://git.agnieray.net/?a=blobdiff_plain;f=galette%2Flib%2FGalette%2FCore%2FMailing.php;h=e2344014d58341e623a48eff892a3558d1337966;hb=183fd9cc46bcfabb282e73ea19925c2299e162a9;hp=d3b2802fc9d80c6af4dfe9128956e9b12af81e0c;hpb=2db5e171b21903eb621e88e5161b5a8af99f2573;p=galette.git diff --git a/galette/lib/Galette/Core/Mailing.php b/galette/lib/Galette/Core/Mailing.php index d3b2802fc..e2344014d 100644 --- a/galette/lib/Galette/Core/Mailing.php +++ b/galette/lib/Galette/Core/Mailing.php @@ -211,6 +211,7 @@ class Mailing extends GaletteMail $this->setRecipients($_recipients); $this->subject = $rs->mailing_subject; $this->message = $rs->mailing_body; + $this->html = $this->message != strip_tags($this->message) ? true : false; if ($rs->mailing_sender_name !== null || $rs->mailing_sender_address !== null) { $this->setSender( $rs->mailing_sender_name,