summaryrefslogtreecommitdiffstats
path: root/system/libraries
diff options
context:
space:
mode:
authorDerek Jones <derek.jones@ellislab.com>2008-08-06 20:31:54 +0200
committerDerek Jones <derek.jones@ellislab.com>2008-08-06 20:31:54 +0200
commit3018465a7fd25ee66d215bf881ca8b91f7b8ab62 (patch)
tree9757d47be6adf184c594f9f65298df46d0923f50 /system/libraries
parente3b8749f766e09ff55ad047b33c047149c9e249c (diff)
fixed bug where dechex() was being fed the wrong variable for encoding space and tab characters at the end of a line of quoted-printable encoded content
Diffstat (limited to 'system/libraries')
-rw-r--r--system/libraries/Email.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Email.php b/system/libraries/Email.php
index 6ced2c5c8..ee3d76367 100644
--- a/system/libraries/Email.php
+++ b/system/libraries/Email.php
@@ -1196,7 +1196,7 @@ class CI_Email {
// Convert spaces and tabs but only if it's the end of the line
if ($i == ($length - 1))
{
- $char = ($ascii == '32' OR $ascii == '9') ? $escape.sprintf('%02s', dechex($char)) : $char;
+ $char = ($ascii == '32' OR $ascii == '9') ? $escape.sprintf('%02s', dechex($ascii)) : $char;
}
// encode = signs