diff options
author | Georg Ehrke <dev@georgswebsite.de> | 2012-06-21 16:23:13 +0200 |
---|---|---|
committer | Georg Ehrke <dev@georgswebsite.de> | 2012-06-21 16:23:13 +0200 |
commit | 096f5598b43b4e1d60beb14d40ceacce61319ca4 (patch) | |
tree | 89ef65e199bdfdc3e9ffae7cb9c5feec1148cd73 /apps | |
parent | 288c5e7581509ed5ec8fdb622cf84544439c46b2 (diff) | |
download | nextcloud-server-096f5598b43b4e1d60beb14d40ceacce61319ca4.tar.gz nextcloud-server-096f5598b43b4e1d60beb14d40ceacce61319ca4.zip |
fix calendar
Diffstat (limited to 'apps')
-rw-r--r-- | 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 8618d4a49f0..e00e0cfeb1e 100644 --- a/apps/calendar/ajax/events.php +++ b/apps/calendar/ajax/events.php @@ -27,7 +27,7 @@ else { $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($calendar_id, $start, $end); +$events = OC_Calendar_App::getrequestedEvents($_GET['calendar_id'], $start, $end); $output = array(); foreach($events as $event){ $output = array_merge($output, OC_Calendar_App::generateEventOutput($event, $start, $end)); |