summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorDan Horrigan <dan@dhorrigan.com>2011-08-21 15:07:27 +0200
committerDan Horrigan <dan@dhorrigan.com>2011-08-21 15:07:27 +0200
commitd0ddeafedc2d9dfa3c1543b5e7aefd1ff29f6deb (patch)
tree5a7eeb8c3030bf358d474149f6e46bcf57a5ea92 /system
parenta0672e1e1f8c5d633a4f0e985e3bcc876862933b (diff)
Changed set_alt_message() to cast the message a string to prevent possible issues when sending NULL or FALSE.
Diffstat (limited to 'system')
-rw-r--r--system/libraries/Email.php2
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;
}