diff options
Diffstat (limited to 'views/default/event_calendar/groupprofile_calendar_deprecated.php')
-rw-r--r-- | views/default/event_calendar/groupprofile_calendar_deprecated.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/event_calendar/groupprofile_calendar_deprecated.php b/views/default/event_calendar/groupprofile_calendar_deprecated.php index 081a0eb2d..0d7d5101f 100644 --- a/views/default/event_calendar/groupprofile_calendar_deprecated.php +++ b/views/default/event_calendar/groupprofile_calendar_deprecated.php @@ -30,7 +30,7 @@ if (event_calendar_activated_for_group($page_owner_entity)) { foreach($events as $event) { echo elgg_view("object/event_calendar",array('entity' => $event)); } - echo '<div class="forum_latest"><a href="'.$vars['url'].'pg/event_calendar/group/'.page_owner().'">'.elgg_echo('event_calendar:view_calendar').'</a></div>'; + echo '<div class="forum_latest"><a href="'.$vars['url'].'pg/event_calendar/group/'.elgg_get_page_owner_guid().'">'.elgg_echo('event_calendar:view_calendar').'</a></div>'; echo "</div>"; } else if (elgg_get_plugin_setting('group_always_display', 'event_calendar') == 'yes') { |