aboutsummaryrefslogtreecommitdiff
path: root/views/foaf/user
diff options
context:
space:
mode:
Diffstat (limited to 'views/foaf/user')
-rw-r--r--views/foaf/user/default.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/foaf/user/default.php b/views/foaf/user/default.php
index bcba3b3c2..b2da08f29 100644
--- a/views/foaf/user/default.php
+++ b/views/foaf/user/default.php
@@ -6,7 +6,7 @@
* @subpackage Core
*/
-$friends=get_user_friends($vars['page_owner'],$subtype = "",$limit = 10000,$offset = 0);
+$friends=get_user_friends(elgg_get_page_owner_guid(), $subtype = "", $limit = 10000, $offset = 0);
foreach ($friends as $friend) {
?>