summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--program/include/rcube_config.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/program/include/rcube_config.php b/program/include/rcube_config.php
index e596c0bd1..b30cf2d38 100644
--- a/program/include/rcube_config.php
+++ b/program/include/rcube_config.php
@@ -237,9 +237,9 @@ class rcube_config
// use the configured delimiter for headers
if (!empty($this->prop['mail_header_delimiter']))
return $this->prop['mail_header_delimiter'];
- else if (strtolower(substr(PHP_OS, 0, 3) == 'win'))
+ else if (strtolower(substr(PHP_OS, 0, 3)) == 'win')
return "\r\n";
- else if (strtolower(substr(PHP_OS, 0, 3) == 'mac'))
+ else if (strtolower(substr(PHP_OS, 0, 3)) == 'mac')
return "\r\n";
else
return "\n";