diff options
author | Dan Horrigan <dan@dhorrigan.com> | 2011-08-21 15:07:27 +0200 |
---|---|---|
committer | Dan Horrigan <dan@dhorrigan.com> | 2011-08-21 15:07:27 +0200 |
commit | d0ddeafedc2d9dfa3c1543b5e7aefd1ff29f6deb (patch) | |
tree | 5a7eeb8c3030bf358d474149f6e46bcf57a5ea92 | |
parent | a0672e1e1f8c5d633a4f0e985e3bcc876862933b (diff) |
Changed set_alt_message() to cast the message a string to prevent possible issues when sending NULL or FALSE.
-rw-r--r-- | system/libraries/Email.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Email.php b/system/libraries/Email.php index e28c23a04..f1d65a3eb 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; } |