From 502f8508ef96fb368bcc733ab3fad3fa93634127 Mon Sep 17 00:00:00 2001 From: Lars Kneschke Date: Thu, 17 Aug 2006 03:30:19 +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..6d6395e63d 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 bug report 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',