----------------------------------------
* CRM-17908: text version of header/footer not used when auto-generating text version of email
https://issues.civicrm.org/jira/browse/CRM-17908
$template = array();
if ($this->header->body_text) {
$template[] = $this->header->body_text;
- } else {
+ }
+ else {
$template[] = CRM_Utils_String::htmlToText($this->header->body_html);
}
if ($this->body_text) {
$template[] = $this->body_text;
- } else {
+ }
+ else {
$template[] = CRM_Utils_String::htmlToText($this->body_html);
}
if ($this->footer->body_text) {
$template[] = $this->footer->body_text;
- } else {
+ }
+ else {
$template[] = CRM_Utils_String::htmlToText($this->footer->body_html);
}