X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FMailing%2FPage%2FPreview.php;h=0277650c0858df187b723644623601bf38d20e83;hb=HEAD;hp=b08987e3e3e72d246ef01368c8fb2e7bc2082e08;hpb=4fd26f71c62960fbbb738a549bb595926f1eb70b;p=civicrm-core.git diff --git a/CRM/Mailing/Page/Preview.php b/CRM/Mailing/Page/Preview.php index b08987e3e3..0277650c08 100644 --- a/CRM/Mailing/Page/Preview.php +++ b/CRM/Mailing/Page/Preview.php @@ -1,9 +1,9 @@ getHTMLBody(); } else { - header('Content-Type: text/plain; charset=utf-8'); + CRM_Utils_System::setHttpHeader('Content-Type', 'text/plain; charset=utf-8'); print $mime->getTXTBody(); } CRM_Utils_System::civiExit(); } -} +}