don't escape new lines in vevent description

This ended up as "\n\\n" in the data base and the escaped \n was also
visible in the edit form.

Signed-off-by: Florian Pritz <bluewind@xinu.at>
This commit is contained in:
Florian Pritz 2011-09-22 21:43:30 +02:00
parent 652b744201
commit 761ba4a379
1 changed files with 1 additions and 2 deletions

View File

@ -488,8 +488,7 @@ class OC_Calendar_Object{
}
if($description != ""){
$des = str_replace("\n","\\n", $description);
$vevent->DESCRIPTION = $des;
$vevent->DESCRIPTION = $description;
}else{
unset($vevent->DESCRIPTION);
}