Skip to content

Commit

Permalink
CRM-19704: mailing body stripped if image only
Browse files Browse the repository at this point in the history
  • Loading branch information
monishdeb committed Dec 12, 2017
1 parent d08c994 commit fd59599
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Mailing/BAO/Mailing.php
Original file line number Diff line number Diff line change
Expand Up @@ -796,7 +796,7 @@ public function getTemplates() {
}

// To check for an html part strip tags
if (trim(strip_tags($this->body_html))) {
if (trim(strip_tags($this->body_html, '<img>'))) {

$template = array();
if ($this->header) {
Expand Down

0 comments on commit fd59599

Please sign in to comment.