From 624f92492c0058bf415eead63fe640e267092057 Mon Sep 17 00:00:00 2001 From: Michael McAndrew Date: Wed, 20 Sep 2017 14:31:41 +0100 Subject: [PATCH] fixing whitespace errors --- CRM/Mailing/BAO/Mailing.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/CRM/Mailing/BAO/Mailing.php b/CRM/Mailing/BAO/Mailing.php index a454a3ba43..27ca60dda6 100644 --- a/CRM/Mailing/BAO/Mailing.php +++ b/CRM/Mailing/BAO/Mailing.php @@ -1305,16 +1305,16 @@ ORDER BY civicrm_email.is_bulkmail DESC ) ) { - // The following if elseif allows us to ensure that people who have a // preference for text emails will get one even when the person composing // the email has not uploaded a text version. - // If the text version exists, use it - if($text){ + if ($text) { + // If the text version exists, use it $textBody = implode('', $text); - // Else if it doesn't exist and the html version exists, use it - }elseif($html){ + } + elseif ($html) { + // Else if it doesn't exist and the html version exists, use it $textBody = implode('', $html); $textBody = CRM_Utils_String::htmlToText($textBody); } -- 2.25.1