aboutsummaryrefslogtreecommitdiff
path: root/pages/avatar/view.php
diff options
context:
space:
mode:
Diffstat (limited to 'pages/avatar/view.php')
-rw-r--r--pages/avatar/view.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/pages/avatar/view.php b/pages/avatar/view.php
index 8b420c61a..55ae00e16 100644
--- a/pages/avatar/view.php
+++ b/pages/avatar/view.php
@@ -3,7 +3,7 @@
* View an avatar
*/
-$user = elgg_get_page_owner();
+$user = elgg_get_page_owner_entity();
// Get the size
$size = strtolower(get_input('size'));