]> source.dussan.org Git - nextcloud-server.git/commitdiff
add backslash r to the newline var
authorGeorg Ehrke <dev@georgswebsite.de>
Wed, 28 Mar 2012 15:06:16 +0000 (17:06 +0200)
committerGeorg Ehrke <dev@georgswebsite.de>
Wed, 28 Mar 2012 15:06:16 +0000 (17:06 +0200)
apps/calendar/ajax/import/import.php
apps/calendar/export.php

index c0797f6e425524124ff91a96748c630e856dbb65..d0bdab4f0d508a13cb219c4cacd9e50032bdb8ee 100644 (file)
@@ -10,7 +10,7 @@ ob_start();
 require_once('../../../../lib/base.php');
 OC_JSON::checkLoggedIn();
 OC_Util::checkAppEnabled('calendar');
-$nl = "\n";
+$nl = "\n\r";
 $progressfile = OC::$APPSROOT . '/apps/calendar/import_tmp/' . md5(session_id()) . '.txt';
 if(is_writable('import_tmp/')){
        $progressfopen = fopen($progressfile, 'w');
index 9886ad8e8cca318ac0d2d08ef9f1bddc83ede755..2736eec96c2124e0d9363b30f0aaad6b6bd10fe3 100644 (file)
@@ -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";
+$nl = "\n\r";
 if(isset($cal)){
        $calendar = OC_Calendar_App::getCalendar($cal);
        $calobjects = OC_Calendar_Object::all($cal);