commit | 6cefc6bb25c4a30cd86515a831ce0ac82cc43073 | [log] [tgz] |
---|---|---|
author | Andrey Andreev <narf@devilix.net> | Mon Aug 03 10:22:19 2015 +0300 |
committer | Andrey Andreev <narf@devilix.net> | Mon Aug 03 10:22:19 2015 +0300 |
tree | a25b80173cb506f53984c02706d7ef2cbd107724 | |
parent | 10fb7d17b2025de4963da8b0108fda4da36ade11 [diff] [blame] |
Fix #4015
diff --git a/system/libraries/Email.php b/system/libraries/Email.php index 57693e1..459c8f5 100644 --- a/system/libraries/Email.php +++ b/system/libraries/Email.php
@@ -804,11 +804,12 @@ * * @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; } // --------------------------------------------------------------------