aboutsummaryrefslogtreecommitdiff
path: root/views/default/event_calendar/groupprofile_calendar.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/event_calendar/groupprofile_calendar.php')
-rw-r--r--views/default/event_calendar/groupprofile_calendar.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/views/default/event_calendar/groupprofile_calendar.php b/views/default/event_calendar/groupprofile_calendar.php
index 7ee09104f..c71780be8 100644
--- a/views/default/event_calendar/groupprofile_calendar.php
+++ b/views/default/event_calendar/groupprofile_calendar.php
@@ -26,10 +26,8 @@ if (event_calendar_activated_for_group($page_owner_entity)) {
if (is_array($events) && sizeof($events) > 0) {
foreach($events as $event) {
- echo elgg_view("object/event_calendar",array('entity' => $event));
+ echo elgg_view("object/event_calendar",array('entity' => $event['event']));
}
}
}
-
-?> \ No newline at end of file