aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2019-03-16 15:23:17 -0700
committerzotlabs <mike@macgirvin.com>2019-03-16 15:23:17 -0700
commit3c701e780c31a497c8c81ad0a66221e90b6078a4 (patch)
tree39298f4987e67b9f80742141e35dd6285cd31847 /include
parent8ebc517b4174c400009300e1c13f2f95ba78353b (diff)
downloadvolse-hubzilla-3c701e780c31a497c8c81ad0a66221e90b6078a4.tar.gz
volse-hubzilla-3c701e780c31a497c8c81ad0a66221e90b6078a4.tar.bz2
volse-hubzilla-3c701e780c31a497c8c81ad0a66221e90b6078a4.zip
use the php_eol constant for encoded subjects
Diffstat (limited to 'include')
-rw-r--r--include/network.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/network.php b/include/network.php
index 3e8134a32..4ef976df0 100644
--- a/include/network.php
+++ b/include/network.php
@@ -895,7 +895,7 @@ function email_header_encode($in_str, $charset = 'UTF-8', $header = 'Subject') {
// define start delimimter, end delimiter and spacer
$end = "?=";
$start = "=?" . $charset . "?B?";
- $spacer = $end . "\r\n " . $start;
+ $spacer = $end . PHP_EOL . " " . $start;
// determine length of encoded text within chunks
// and ensure length is even