aboutsummaryrefslogtreecommitdiff
path: root/pages/friends/of.php
diff options
context:
space:
mode:
Diffstat (limited to 'pages/friends/of.php')
-rw-r--r--pages/friends/of.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/pages/friends/of.php b/pages/friends/of.php
index b8740b88e..0e09e09f0 100644
--- a/pages/friends/of.php
+++ b/pages/friends/of.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:of:owned"), $owner->name);