aboutsummaryrefslogtreecommitdiff
path: root/mod/profile/edit.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/profile/edit.php')
-rw-r--r--mod/profile/edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/profile/edit.php b/mod/profile/edit.php
index 2b09c7ff8..97b656a5c 100644
--- a/mod/profile/edit.php
+++ b/mod/profile/edit.php
@@ -15,7 +15,7 @@ if (!isloggedin()) {
}
// Get owner of profile - set in page handler
-$user = page_owner_entity();
+$user = elgg_get_page_owner();
if (!$user) {
register_error(elgg_echo("profile:notfound"));
forward();