summaryrefslogtreecommitdiffstats
path: root/system/libraries
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-11-02 19:40:43 +0100
committerAndrey Andreev <narf@bofh.bg>2012-11-02 19:40:43 +0100
commit8a203f65dd265d7b1d25ad143cb86db813c47824 (patch)
tree5be6974e5b854b0e06157d814f4c60d90e9abf3f /system/libraries
parentc3751f843e9e4f646f3da2617df25cae6660f3af (diff)
Fix #1960
Diffstat (limited to 'system/libraries')
-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 62f196c05..f3718ae7e 100644
--- a/system/libraries/Email.php
+++ b/system/libraries/Email.php
@@ -1057,7 +1057,7 @@ class CI_Email {
}
// Reduce multiple spaces
- $str = preg_replace('| +|', ' ', $str);
+ $body = preg_replace('| +|', ' ', $body);
return ($this->wordwrap)
? $this->word_wrap($body, 76)