aboutsummaryrefslogtreecommitdiffstats
path: root/apps/calendar
diff options
context:
space:
mode:
authorGeorg Ehrke <dev@georgswebsite.de>2012-06-21 16:23:13 +0200
committerGeorg Ehrke <dev@georgswebsite.de>2012-06-21 16:24:05 +0200
commit49d9eb7acf8636eed2e25292df924694fc4ccd47 (patch)
tree0941ad1a3aaf05672080a4c8517e797b2ed44427 /apps/calendar
parent7c3f6f61db5b93c3393ab4b3b99c3e6906ed27be (diff)
downloadnextcloud-server-49d9eb7acf8636eed2e25292df924694fc4ccd47.tar.gz
nextcloud-server-49d9eb7acf8636eed2e25292df924694fc4ccd47.zip
fix calendar
Diffstat (limited to 'apps/calendar')
-rw-r--r--apps/calendar/ajax/events.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/calendar/ajax/events.php b/apps/calendar/ajax/events.php
index 7178358c7b5..ae55cbc02db 100644
--- a/apps/calendar/ajax/events.php
+++ b/apps/calendar/ajax/events.php
@@ -22,7 +22,7 @@ $calendar_id = (is_null($calendar_id)?strip_tags($_GET['calendar_id']):$calendar
$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));