aboutsummaryrefslogtreecommitdiff
path: root/pages/profile
diff options
context:
space:
mode:
Diffstat (limited to 'pages/profile')
-rw-r--r--pages/profile/edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/pages/profile/edit.php b/pages/profile/edit.php
index 64ffd7dc5..0ffb8783f 100644
--- a/pages/profile/edit.php
+++ b/pages/profile/edit.php
@@ -5,7 +5,7 @@
gatekeeper();
-$user = elgg_get_page_owner();
+$user = elgg_get_page_owner_entity();
if (!$user) {
register_error(elgg_echo("profile:notfound"));
forward();