aboutsummaryrefslogtreecommitdiff
path: root/mod/file/friends.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/file/friends.php')
-rw-r--r--mod/file/friends.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/file/friends.php b/mod/file/friends.php
index d7d47acf7..984aedc60 100644
--- a/mod/file/friends.php
+++ b/mod/file/friends.php
@@ -11,7 +11,7 @@
group_gatekeeper();
}
- $owner = page_owner_entity();
+ $owner = elgg_get_page_owner();
$title = sprintf(elgg_echo("file:friends"),$owner->name);
$area1 = elgg_view('page_elements/content_header', array('context' => "friends", 'type' => 'file'));