aboutsummaryrefslogtreecommitdiff
path: root/views/default/widgets/friends
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/widgets/friends')
-rw-r--r--views/default/widgets/friends/content.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/widgets/friends/content.php b/views/default/widgets/friends/content.php
index e0385027d..f20f00194 100644
--- a/views/default/widgets/friends/content.php
+++ b/views/default/widgets/friends/content.php
@@ -29,7 +29,7 @@ if (is_array($friends) && sizeof($friends) > 0) {
foreach($friends as $friend) {
echo "<div class=\"widget_friends_singlefriend\" >";
- echo elgg_view("profile/icon",array('entity' => get_user($friend->guid), 'size' => $size));
+ echo elgg_view_entity_icon(get_user($friend->guid), $size);
echo "</div>";
}