From cea13ac10598078a6489650bf69c6efc45231e03 Mon Sep 17 00:00:00 2001 From: Kevin Jardine Date: Wed, 9 May 2012 19:09:24 +0200 Subject: fixes for group event bugs --- views/default/event_calendar/groupprofile_calendar.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'views/default/event_calendar/groupprofile_calendar.php') 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 -- cgit v1.2.3