summaryrefslogtreecommitdiffstats
path: root/apps/calendar/ajax/events.php
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-05-04 17:34:13 +0200
committerBart Visscher <bartv@thisnet.nl>2012-05-04 17:34:13 +0200
commit1fef13b0c06c8399f23d01a880ecf3c58ad4e1fb (patch)
tree9628f64a2b9f49293bfd7eb06837f12ab61c8122 /apps/calendar/ajax/events.php
parent01da64caf7bd8bcf2ef5653dd47c58017e87637d (diff)
downloadnextcloud-server-1fef13b0c06c8399f23d01a880ecf3c58ad4e1fb.tar.gz
nextcloud-server-1fef13b0c06c8399f23d01a880ecf3c58ad4e1fb.zip
Calendar: Use array_merge to join event arrays
Diffstat (limited to 'apps/calendar/ajax/events.php')
-rwxr-xr-xapps/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 b86620329e3..9ecb625246e 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 = $output + OC_Calendar_App::generateEventOutput($event, $start, $end);
+ $output = array_merge($output, OC_Calendar_App::generateEventOutput($event, $start, $end));
}
OCP\JSON::encodedPrint($output);