aboutsummaryrefslogtreecommitdiff
path: root/mod/tabbed_profile/views/default/profile/tabs/friends.php
blob: 9195629e55427883d390adeb738ff8bb06d449be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<?php
/**
 * Profile friends
 **/

$friends = list_entities_from_relationship('friend', $vars['entity']->getGUID(), FALSE, 'user', '', 0, 10, FALSE);

if(!$friends) {
	$friends = '<p>' . elgg_echo('profile:no_friends') . '</p>';
}

echo $friends;