diff options
author | Andrey Andreev <narf@devilix.net> | 2015-08-03 09:22:19 +0200 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2015-08-03 09:22:19 +0200 |
commit | 6cefc6bb25c4a30cd86515a831ce0ac82cc43073 (patch) | |
tree | a25b80173cb506f53984c02706d7ef2cbd107724 /system/libraries/Email.php | |
parent | 10fb7d17b2025de4963da8b0108fda4da36ade11 (diff) |
Fix #4015
Diffstat (limited to 'system/libraries/Email.php')
-rw-r--r-- | system/libraries/Email.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/system/libraries/Email.php b/system/libraries/Email.php index 57693e1c7..459c8f590 100644 --- a/system/libraries/Email.php +++ b/system/libraries/Email.php @@ -804,11 +804,12 @@ class CI_Email { * * @param string * @param string - * @return void + * @return CI_Email */ public function set_header($header, $value) { $this->_headers[$header] = str_replace(array("\n", "\r"), '', $value); + return $this; } // -------------------------------------------------------------------- |