summaryrefslogtreecommitdiff
path: root/roundcubemail/program/include/rcube_config.php
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-07-17 07:41:12 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-07-17 07:41:12 +0000
commitda9b99dd6ca25912bd4e464307de77b5aa7ef91a (patch)
treec40de36cc17bf23fbd798ca2db373ca36e06b13f /roundcubemail/program/include/rcube_config.php
parent8d658d503995c43691d565a21f53208434a35241 (diff)
- fix bug in rcube_config::header_delimiter()
git-svn-id: https://svn.roundcube.net/trunk@2760 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include/rcube_config.php')
-rw-r--r--roundcubemail/program/include/rcube_config.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/roundcubemail/program/include/rcube_config.php b/roundcubemail/program/include/rcube_config.php
index e596c0bd1..b30cf2d38 100644
--- a/roundcubemail/program/include/rcube_config.php
+++ b/roundcubemail/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";