From d9f6b6e4df4ef544527b117caef2fa312676c197 Mon Sep 17 00:00:00 2001 From: Lars Kneschke Date: Thu, 17 Aug 2006 03:29:42 +0000 Subject: [PATCH] removed (hopefully) unneeded linebreaks --- phpgwapi/inc/horde/Horde/iCalendar.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/phpgwapi/inc/horde/Horde/iCalendar.php b/phpgwapi/inc/horde/Horde/iCalendar.php index 9ba13ad0f3..0c00f098d0 100644 --- a/phpgwapi/inc/horde/Horde/iCalendar.php +++ b/phpgwapi/inc/horde/Horde/iCalendar.php @@ -1319,8 +1319,9 @@ class Horde_iCalendar { */ function EncodeQP ($str) { $encoded = $this->FixEOL($str); - if (substr($encoded, -(strlen($this->LE))) != $this->LE) - $encoded .= $this->LE; + # see bugreport http://sourceforge.net/tracker/index.php?func=detail&aid=1536674&group_id=78745&atid=554338 + //if (substr($encoded, -(strlen($this->LE))) != $this->LE) + // $encoded .= $this->LE; // Replace every high ascii, control and = characters #$encoded = preg_replace('/([\000-\010\013\014\016-\037\075\177-\377])/e',