summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrank de Jonge <info@frenky.net>2011-08-21 04:45:55 +0200
committerFrank de Jonge <info@frenky.net>2011-08-21 04:45:55 +0200
commit9aa8929858de7486fce76415e1ab722f4d5e90ab (patch)
treed061b4339f2c3f30428256efae741ab04fd2bf6e
parentd21182a690e113b0ea92b810e2dd45d82d971592 (diff)
Removed unneeded code in CI_Email's set_alt_message.
-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 fb9a75049..e28c23a04 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 == '') ? '' : $str;
+ $this->alt_message = $str;
return $this;
}