summaryrefslogtreecommitdiffstats
path: root/apps/calendar/export.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/calendar/export.php')
-rw-r--r--apps/calendar/export.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/calendar/export.php b/apps/calendar/export.php
index e4caa1bde75..95cba03906f 100644
--- a/apps/calendar/export.php
+++ b/apps/calendar/export.php
@@ -11,7 +11,7 @@ OC_Util::checkLoggedIn();
OC_Util::checkAppEnabled('calendar');
$cal = isset($_GET['calid']) ? $_GET['calid'] : NULL;
$event = isset($_GET['eventid']) ? $_GET['eventid'] : NULL;
-$nl = "\n\r";
+$nl = "\r\n";
if(isset($cal)){
$calendar = OC_Calendar_App::getCalendar($cal, true);
$calobjects = OC_Calendar_Object::all($cal);
@@ -28,4 +28,4 @@ if(isset($cal)){
header('Content-Disposition: inline; filename=' . $data['summary'] . '.ics');
echo $data['calendardata'];
}
-?> \ No newline at end of file
+?>