Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/calendar/lib/object.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/calendar/lib/object.php b/apps/calendar/lib/object.php
index c4878dac651..98e17ac81b6 100644
--- a/apps/calendar/lib/object.php
+++ b/apps/calendar/lib/object.php
@@ -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);
}