Skip to content
Snippets Groups Projects
Commit 99db3c01 authored by Georg Ehrke's avatar Georg Ehrke
Browse files

fix bug in events.php

parent 890c57ba
Branches
No related tags found
No related merge requests found
......@@ -21,7 +21,7 @@ if(is_numeric($calendar['userid']) && $calendar['userid'] != OCP\User::getUser){
$start = (version_compare(PHP_VERSION, '5.3.0', '>='))?DateTime::createFromFormat('U', $_GET['start']):new DateTime('@' . $_GET['start']);
$end = (version_compare(PHP_VERSION, '5.3.0', '>='))?DateTime::createFromFormat('U', $_GET['end']):new DateTime('@' . $_GET['end']);
$events = OC_Calendar_App::getrequestedEvents($id, $start, $end);
$events = OC_Calendar_App::getrequestedEvents($calendar['id'], $start, $end);
$output = array();
foreach($events as $event){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment