commit | 8a203f65dd265d7b1d25ad143cb86db813c47824 | [log] [tgz] |
---|---|---|
author | Andrey Andreev <narf@bofh.bg> | Fri Nov 02 20:40:43 2012 +0200 |
committer | Andrey Andreev <narf@bofh.bg> | Fri Nov 02 20:40:43 2012 +0200 |
tree | 5be6974e5b854b0e06157d814f4c60d90e9abf3f | |
parent | c3751f843e9e4f646f3da2617df25cae6660f3af [diff] |
Fix #1960
diff --git a/system/libraries/Email.php b/system/libraries/Email.php index 62f196c..f3718ae 100644 --- a/system/libraries/Email.php +++ b/system/libraries/Email.php
@@ -1057,7 +1057,7 @@ } // Reduce multiple spaces - $str = preg_replace('| +|', ' ', $str); + $body = preg_replace('| +|', ' ', $body); return ($this->wordwrap) ? $this->word_wrap($body, 76)