diff options
Diffstat (limited to 'pages/friends/index.php')
-rw-r--r-- | pages/friends/index.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pages/friends/index.php b/pages/friends/index.php index 10128ffc7..e9ff87c16 100644 --- a/pages/friends/index.php +++ b/pages/friends/index.php @@ -6,11 +6,11 @@ * @subpackage Core */ -$owner = page_owner_entity(); +$owner = elgg_get_page_owner(); if (!$owner) { gatekeeper(); set_page_owner(get_loggedin_userid()); - $owner = page_owner_entity(); + $owner = elgg_get_page_owner(); } $title = sprintf(elgg_echo("friends:owned"), $owner->name); |