aboutsummaryrefslogtreecommitdiff
path: root/mod/pages/edit.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/pages/edit.php')
-rw-r--r--mod/pages/edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/pages/edit.php b/mod/pages/edit.php
index cc9955bc9..30207a7b9 100644
--- a/mod/pages/edit.php
+++ b/mod/pages/edit.php
@@ -15,7 +15,7 @@ if ($container = $pages->container_guid) {
set_page_owner($container);
}
-$page_owner = page_owner_entity();
+$page_owner = elgg_get_page_owner();
if ($page_owner === false || is_null($page_owner)) {
$page_owner = get_loggedin_user();