X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FMailing%2FPage%2FPreview.php;h=7b96ff1cfd6878c59211b22cef05ccc5d208bf8b;hb=b5b9c34111a85625f587173394b3f48f6d205083;hp=c12ff6305bfc55827e3d565a0995213ba7382d01;hpb=845bc17a66f2ef2ca7c819fbe99ec646f0d42634;p=civicrm-core.git diff --git a/CRM/Mailing/Page/Preview.php b/CRM/Mailing/Page/Preview.php index c12ff6305b..7b96ff1cfd 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(); } -} +}