summaryrefslogtreecommitdiff
path: root/program/include
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-07-17 07:41:12 +0000
committeralecpl <alec@alec.pl>2009-07-17 07:41:12 +0000
commit77edef7ebd22c0bbd9ee21ae8a65696f39abb9bf (patch)
treea7f693c07955dcf131aa93a18803cdaf83c304d2 /program/include
parent503e019a56b904a57171813f14db9ceaa81641cf (diff)
- fix bug in rcube_config::header_delimiter()
Diffstat (limited to 'program/include')
-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";