aboutsummaryrefslogtreecommitdiff
path: root/mod/profile/icon.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/profile/icon.php')
-rw-r--r--mod/profile/icon.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/profile/icon.php b/mod/profile/icon.php
index 48ccc16c2..2848c3e4d 100644
--- a/mod/profile/icon.php
+++ b/mod/profile/icon.php
@@ -8,7 +8,7 @@
require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
// Get the owning user
-$user = elgg_get_page_owner();
+$user = elgg_get_page_owner_entity();
// Get the size
$size = strtolower(get_input('size'));