aboutsummaryrefslogtreecommitdiff
path: root/mod/profile/editicon.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/profile/editicon.php')
-rw-r--r--mod/profile/editicon.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/profile/editicon.php b/mod/profile/editicon.php
index 2b1a40d0f..9b0a654d2 100644
--- a/mod/profile/editicon.php
+++ b/mod/profile/editicon.php
@@ -14,7 +14,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();