aboutsummaryrefslogtreecommitdiff
path: root/views/default/event_calendar/groupprofile_calendar_deprecated.php
diff options
context:
space:
mode:
authorSem <sembrestels@riseup.net>2013-09-05 21:10:06 +0200
committerSem <sembrestels@riseup.net>2013-09-05 21:10:06 +0200
commitf657a9ebb297ecae181714bb4e05b607dbe5e5a5 (patch)
treedc585c4ffb5ec3735a913c0daef5d4b5f3f7e1b0 /views/default/event_calendar/groupprofile_calendar_deprecated.php
parentda191e2432b0853bd33515fb2bc33a0fe50952f9 (diff)
downloadelgg-f657a9ebb297ecae181714bb4e05b607dbe5e5a5.tar.gz
elgg-f657a9ebb297ecae181714bb4e05b607dbe5e5a5.tar.bz2
Removed deprecated function uses.
Diffstat (limited to 'views/default/event_calendar/groupprofile_calendar_deprecated.php')
-rw-r--r--views/default/event_calendar/groupprofile_calendar_deprecated.php2
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') {