diff options
author | Georg Ehrke <dev@georgswebsite.de> | 2012-05-09 17:36:17 +0200 |
---|---|---|
committer | Georg Ehrke <dev@georgswebsite.de> | 2012-05-09 17:36:48 +0200 |
commit | 99db3c01eeb96ef42567ea2b00d7f58ce92eb30c (patch) | |
tree | beb2fd6a1e9e3a97fdad96f1e637616ee33335c3 /apps/calendar/ajax/events.php | |
parent | 890c57bad5fc98ba926c40312d1bc2673ae486e9 (diff) | |
download | nextcloud-server-99db3c01eeb96ef42567ea2b00d7f58ce92eb30c.tar.gz nextcloud-server-99db3c01eeb96ef42567ea2b00d7f58ce92eb30c.zip |
fix bug in events.php
Diffstat (limited to 'apps/calendar/ajax/events.php')
-rwxr-xr-x | apps/calendar/ajax/events.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/calendar/ajax/events.php b/apps/calendar/ajax/events.php index e41395a429f..afb4d61d315 100755 --- a/apps/calendar/ajax/events.php +++ b/apps/calendar/ajax/events.php @@ -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){ |