summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDerek Jones <derek.jones@ellislab.com>2011-08-20 17:52:44 +0200
committerDerek Jones <derek.jones@ellislab.com>2011-08-20 17:52:44 +0200
commitd56be70257696d0bbf2dcc880888d8dc17cba21c (patch)
treed061b4339f2c3f30428256efae741ab04fd2bf6e
parentd21182a690e113b0ea92b810e2dd45d82d971592 (diff)
parent9aa8929858de7486fce76415e1ab722f4d5e90ab (diff)
Merge pull request #203 from FrenkyNet/develop
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;
}