add backslash r to the newline var
This commit is contained in:
parent
e5c009599d
commit
08b4f996d3
|
@ -10,7 +10,7 @@ ob_start();
|
||||||
require_once('../../../../lib/base.php');
|
require_once('../../../../lib/base.php');
|
||||||
OC_JSON::checkLoggedIn();
|
OC_JSON::checkLoggedIn();
|
||||||
OC_Util::checkAppEnabled('calendar');
|
OC_Util::checkAppEnabled('calendar');
|
||||||
$nl = "\n";
|
$nl = "\n\r";
|
||||||
$progressfile = OC::$APPSROOT . '/apps/calendar/import_tmp/' . md5(session_id()) . '.txt';
|
$progressfile = OC::$APPSROOT . '/apps/calendar/import_tmp/' . md5(session_id()) . '.txt';
|
||||||
if(is_writable('import_tmp/')){
|
if(is_writable('import_tmp/')){
|
||||||
$progressfopen = fopen($progressfile, 'w');
|
$progressfopen = fopen($progressfile, 'w');
|
||||||
|
|
|
@ -11,7 +11,7 @@ OC_Util::checkLoggedIn();
|
||||||
OC_Util::checkAppEnabled('calendar');
|
OC_Util::checkAppEnabled('calendar');
|
||||||
$cal = isset($_GET['calid']) ? $_GET['calid'] : NULL;
|
$cal = isset($_GET['calid']) ? $_GET['calid'] : NULL;
|
||||||
$event = isset($_GET['eventid']) ? $_GET['eventid'] : NULL;
|
$event = isset($_GET['eventid']) ? $_GET['eventid'] : NULL;
|
||||||
$nl = "\n";
|
$nl = "\n\r";
|
||||||
if(isset($cal)){
|
if(isset($cal)){
|
||||||
$calendar = OC_Calendar_App::getCalendar($cal);
|
$calendar = OC_Calendar_App::getCalendar($cal);
|
||||||
$calobjects = OC_Calendar_Object::all($cal);
|
$calobjects = OC_Calendar_Object::all($cal);
|
||||||
|
|
Loading…
Reference in New Issue