diff options
author | Michael Hamann <michael@content-space.de> | 2011-06-06 03:36:19 -0700 |
---|---|---|
committer | Michael Hamann <michael@content-space.de> | 2011-06-06 03:36:19 -0700 |
commit | 1b595a184f93048f862a231951436b3c3f3d1951 (patch) | |
tree | de3af989ddc29da02246db0d718cc6b7ab876e71 | |
parent | 6992ea08420671362032b795cd2972cfc0ef5f01 (diff) | |
parent | ddcd5ab6a4c6b64d7948bd2d103c2ecd5a1ca618 (diff) | |
download | rpg-1b595a184f93048f862a231951436b3c3f3d1951.tar.gz rpg-1b595a184f93048f862a231951436b3c3f3d1951.tar.bz2 |
Merge pull request #47 from kazmiya/2011_06_EmailSubjectEncodingFix
Bug fix in email subject encoding
-rw-r--r-- | inc/mail.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/mail.php b/inc/mail.php index bd6c0db6a..8742e17f6 100644 --- a/inc/mail.php +++ b/inc/mail.php @@ -114,7 +114,7 @@ function _mail_send_action($data) { if(!utf8_isASCII($subject)) { $enc_subj = '=?UTF-8?Q?'.mail_quotedprintable_encode($subject,0).'?='; // Spaces must be encoded according to rfc2047. Use the "_" shorthand - $enc_sub = preg_replace('/ /', '_', $enc_sub); + $enc_subj = preg_replace('/ /', '_', $enc_subj); // quoted printable has length restriction, use base64 if needed if(strlen($subject) > 74){ |