aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/views/default/group/default.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/groups/views/default/group/default.php')
-rw-r--r--mod/groups/views/default/group/default.php7
1 files changed, 2 insertions, 5 deletions
diff --git a/mod/groups/views/default/group/default.php b/mod/groups/views/default/group/default.php
index 568867da9..d025a894b 100644
--- a/mod/groups/views/default/group/default.php
+++ b/mod/groups/views/default/group/default.php
@@ -1,16 +1,13 @@
<?php
/**
- * Elgg groups profile display
+ * Group entity view
*
* @package ElggGroups
*/
$group = $vars['entity'];
-$icon = elgg_view("groups/icon", array(
- 'entity' => $group,
- 'size' => 'tiny',
-));
+$icon = elgg_view_entity_icon($group, 'tiny');
//get the membership type
$membership = $group->membership;