commit | d0ddeafedc2d9dfa3c1543b5e7aefd1ff29f6deb | [log] [tgz] |
---|---|---|
author | Dan Horrigan <dan@dhorrigan.com> | Sun Aug 21 09:07:27 2011 -0400 |
committer | Dan Horrigan <dan@dhorrigan.com> | Sun Aug 21 09:07:27 2011 -0400 |
tree | 5a7eeb8c3030bf358d474149f6e46bcf57a5ea92 | |
parent | a0672e1e1f8c5d633a4f0e985e3bcc876862933b [diff] [blame] |
Changed set_alt_message() to cast the message a string to prevent possible issues when sending NULL or FALSE.
diff --git a/system/libraries/Email.php b/system/libraries/Email.php index e28c23a..f1d65a3 100644 --- a/system/libraries/Email.php +++ b/system/libraries/Email.php
@@ -452,7 +452,7 @@ */ public function set_alt_message($str = '') { - $this->alt_message = $str; + $this->alt_message = (string) $str; return $this; }