From da9b99dd6ca25912bd4e464307de77b5aa7ef91a Mon Sep 17 00:00:00 2001 From: alec Date: Fri, 17 Jul 2009 07:41:12 +0000 Subject: - fix bug in rcube_config::header_delimiter() git-svn-id: https://svn.roundcube.net/trunk@2760 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/include/rcube_config.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'roundcubemail/program') 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"; -- cgit v1.2.3