aboutsummaryrefslogtreecommitdiff
path: root/mod/pages/view.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/pages/view.php')
-rw-r--r--mod/pages/view.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/pages/view.php b/mod/pages/view.php
index 69ae5686c..f3d846f23 100644
--- a/mod/pages/view.php
+++ b/mod/pages/view.php
@@ -15,7 +15,7 @@ elgg_set_page_owner_guid($page->getContainerGUID());
group_gatekeeper();
-$container = elgg_get_page_owner();
+$container = elgg_get_page_owner_entity();
if (!$container) {
}