diff options
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 b84f5b4c608..b86620329e3 100755 --- a/apps/calendar/ajax/events.php +++ b/apps/calendar/ajax/events.php @@ -19,6 +19,6 @@ $events = OC_Calendar_App::getrequestedEvents($_GET['calendar_id'], $start, $end $output = array(); foreach($events as $event){ - $output[] = OC_Calendar_App::generateEventOutput($event, $start, $end); + $output = $output + OC_Calendar_App::generateEventOutput($event, $start, $end); } OCP\JSON::encodedPrint($output); |