removed (hopefully) unneeded linebreaks

This commit is contained in:
Lars Kneschke 2006-08-17 03:29:42 +00:00
parent 1ad5811345
commit d9f6b6e4df

View File

@ -1319,8 +1319,9 @@ class Horde_iCalendar {
*/ */
function EncodeQP ($str) { function EncodeQP ($str) {
$encoded = $this->FixEOL($str); $encoded = $this->FixEOL($str);
if (substr($encoded, -(strlen($this->LE))) != $this->LE) # see bugreport http://sourceforge.net/tracker/index.php?func=detail&aid=1536674&group_id=78745&atid=554338
$encoded .= $this->LE; //if (substr($encoded, -(strlen($this->LE))) != $this->LE)
// $encoded .= $this->LE;
// Replace every high ascii, control and = characters // Replace every high ascii, control and = characters
#$encoded = preg_replace('/([\000-\010\013\014\016-\037\075\177-\377])/e', #$encoded = preg_replace('/([\000-\010\013\014\016-\037\075\177-\377])/e',