diff options
author | Greg Aker <greg@gregaker.net> | 2011-08-21 22:30:15 +0200 |
---|---|---|
committer | Greg Aker <greg@gregaker.net> | 2011-08-21 22:30:15 +0200 |
commit | 1791a447b7e5ba3023a7a2f8fcf607c3ef39a515 (patch) | |
tree | 38676cc6b61bc01815f9fb598c41fcb194ce61dc | |
parent | bf53a06961bd1ccc0f46a1e3d19c05da48fb2cad (diff) | |
parent | 628e6607c4bbd8ea612df80bb9925b7d3ec34765 (diff) |
Merge pull request #230 from dhorrigan/develop
A few small tweaks to CI_Email
-rw-r--r-- | system/libraries/Email.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/system/libraries/Email.php b/system/libraries/Email.php index e28c23a04..28a3d17b4 100644 --- a/system/libraries/Email.php +++ b/system/libraries/Email.php @@ -452,7 +452,7 @@ class CI_Email { */ public function set_alt_message($str = '') { - $this->alt_message = $str; + $this->alt_message = (string) $str; return $this; } @@ -477,12 +477,12 @@ class CI_Email { * Set Wordwrap * * @access public - * @param string + * @param bool * @return void */ public function set_wordwrap($wordwrap = TRUE) { - $this->wordwrap = ($wordwrap === FALSE) ? FALSE : TRUE; + $this->wordwrap = (bool) $wordwrap; return $this; } |