From 77edef7ebd22c0bbd9ee21ae8a65696f39abb9bf Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Fri, 17 Jul 2009 03:41:12 -0400 Subject: [PATCH] - fix bug in rcube_config::header_delimiter() --- program/include/rcube_config.php | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/program/include/rcube_config.php b/program/include/rcube_config.php index e596c0b..b30cf2d 100644 --- a/program/include/rcube_config.php +++ b/program/include/rcube_config.php @@ -237,9 +237,9 @@ // 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"; -- Gitblit v1.9.1