summaryrefslogtreecommitdiffstats
path: root/system/libraries
diff options
context:
space:
mode:
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 a8acec674..7b7dc091c 100644
--- a/system/libraries/Email.php
+++ b/system/libraries/Email.php
@@ -484,7 +484,7 @@ class CI_Email {
*/
function set_newline($newline = "\n")
{
- if ($newline != "\n" OR $newline != "\r\n" OR $newline != "\r")
+ if ($newline != "\n" AND $newline != "\r\n" AND $newline != "\r")
{
$this->newline = "\n";
return;