aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/start.php
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-22 16:14:42 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-22 16:14:42 +0000
commit5f1a263e8fcf52ce3daaf4778a06e59fdee163d3 (patch)
tree83086d8bf832ca75f5c43720ae555e52e3df10b2 /mod/groups/start.php
parent5ee55d6f037671915f024fcb9ccd51be4f89eb30 (diff)
downloadelgg-5f1a263e8fcf52ce3daaf4778a06e59fdee163d3.tar.gz
elgg-5f1a263e8fcf52ce3daaf4778a06e59fdee163d3.tar.bz2
Icons now handle elegantly if you try and display a non-ElggUser entity.
git-svn-id: https://code.elgg.org/elgg/trunk@1492 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/groups/start.php')
-rw-r--r--mod/groups/start.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/groups/start.php b/mod/groups/start.php
index 38d1cc7d7..c23e749d9 100644
--- a/mod/groups/start.php
+++ b/mod/groups/start.php
@@ -59,6 +59,8 @@
// Add some widgets
add_widget_type('group_members_widget',elgg_echo('groups:widgets:members:title'), elgg_echo('groups:widgets:members:description'), 'groups');
add_widget_type('group_entities_widget',elgg_echo('groups:widgets:entities:title'), elgg_echo('groups:widgets:entities:description'), 'groups');
+
+ extend_view('profile/icon','groups/icon');
// For now, we'll hard code the groups profile items as follows:
// TODO make this user configurable