summaryrefslogtreecommitdiffstats
path: root/system/libraries/Email.php
diff options
context:
space:
mode:
Diffstat (limited to 'system/libraries/Email.php')
-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 7539fe54a..f863d4161 100644
--- a/system/libraries/Email.php
+++ b/system/libraries/Email.php
@@ -956,7 +956,7 @@ class CI_Email {
if ($this->_get_protocol() == 'mail')
{
- $this->_header_str = substr($this->_header_str, 0, -1);
+ $this->_header_str = rtrim($this->_header_str);
}
}