diff options
Diffstat (limited to 'pages/friends/of.php')
-rw-r--r-- | pages/friends/of.php | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/pages/friends/of.php b/pages/friends/of.php index 501b0ad2e..66cda587d 100644 --- a/pages/friends/of.php +++ b/pages/friends/of.php @@ -17,7 +17,14 @@ $title = elgg_echo("friends:of:owned", array($owner->name)); $content = elgg_view_title($title); -$content .= list_entities_from_relationship('friend', $owner->getGUID(), TRUE, 'user', '', 0, 10, FALSE); +$options = array( + 'relationship' => 'friend', + 'relationship_guid' => $owner->getGUID(), + 'inverse_relationship' => TRUE, + 'type' => 'user', + 'full_view' => FALSE +); +$content .= elgg_list_entities_from_relationship($options); $body = elgg_view_layout('one_column_with_sidebar', array('content' => $content)); |