aboutsummaryrefslogtreecommitdiff
path: root/mod/pages/views
diff options
context:
space:
mode:
Diffstat (limited to 'mod/pages/views')
-rw-r--r--mod/pages/views/default/pages/group_module.php2
-rw-r--r--mod/pages/views/default/pages/sidebar/navigation.php2
-rw-r--r--mod/pages/views/default/widgets/pages/content.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/mod/pages/views/default/pages/group_module.php b/mod/pages/views/default/pages/group_module.php
index 2e6b7f6ec..87845e224 100644
--- a/mod/pages/views/default/pages/group_module.php
+++ b/mod/pages/views/default/pages/group_module.php
@@ -6,7 +6,7 @@
*/
-$group = elgg_get_page_owner();
+$group = elgg_get_page_owner_entity();
if ($group->pages_enable == "no") {
return true;
diff --git a/mod/pages/views/default/pages/sidebar/navigation.php b/mod/pages/views/default/pages/sidebar/navigation.php
index 806fc2f52..141cf8a64 100644
--- a/mod/pages/views/default/pages/sidebar/navigation.php
+++ b/mod/pages/views/default/pages/sidebar/navigation.php
@@ -12,7 +12,7 @@ if ($selected_page) {
$title = elgg_echo('pages:navigation');
-pages_register_navigation_tree(elgg_get_page_owner());
+pages_register_navigation_tree(elgg_get_page_owner_entity());
$content = elgg_view_menu('pages_nav', array('class' => 'pages-nav'));
if (!$content) {
diff --git a/mod/pages/views/default/widgets/pages/content.php b/mod/pages/views/default/widgets/pages/content.php
index 63a2d8e7e..eea482273 100644
--- a/mod/pages/views/default/widgets/pages/content.php
+++ b/mod/pages/views/default/widgets/pages/content.php
@@ -20,7 +20,7 @@ $content = elgg_list_entities($options);
echo $content;
if ($content) {
- $url = "pg/pages/owner/" . elgg_get_page_owner()->username;
+ $url = "pg/pages/owner/" . elgg_get_page_owner_entity()->username;
$more_link = elgg_view('output/url', array(
'href' => $url,
'text' => elgg_echo('pages:more'),