aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-23 17:07:39 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-23 17:07:39 +0000
commitea4ce23b2481469637e87e8e21a822894ee175b7 (patch)
tree330945c66ce820e1d83813b639feeb5382ad3073 /mod
parent3ffc92b3d7693b669f6d1b4675eba1e6dbde4492 (diff)
downloadelgg-ea4ce23b2481469637e87e8e21a822894ee175b7.tar.gz
elgg-ea4ce23b2481469637e87e8e21a822894ee175b7.tar.bz2
Refs #2557 merged fix into trunk from 1.7 branch
git-svn-id: http://code.elgg.org/elgg/trunk@7916 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod')
-rw-r--r--mod/groups/start.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/mod/groups/start.php b/mod/groups/start.php
index 92416a205..0abd48571 100644
--- a/mod/groups/start.php
+++ b/mod/groups/start.php
@@ -16,6 +16,9 @@ function groups_init() {
elgg_register_library('elgg:groups', elgg_get_plugin_path() . 'groups/lib/groups.php');
+ // register group entities for search
+ register_entity_type('group', '');
+
// Set up the menu
$item = new ElggMenuItem('groups', elgg_echo('groups'), 'pg/groups/all');
elgg_register_menu_item('site', $item);