fix bug in events.php
This commit is contained in:
parent
890c57bad5
commit
99db3c01ee
|
@ -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){
|
||||
|
|
Loading…
Reference in New Issue