From cdd79b9f59f51e211005ddf5ea66669565f278ce Mon Sep 17 00:00:00 2001 From: dave Date: Sun, 10 Aug 2008 11:28:09 +0000 Subject: group profile widget tweaked git-svn-id: https://code.elgg.org/elgg/trunk@1817 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/groups/views/default/widgets/a_users_groups/view.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/groups/views') diff --git a/mod/groups/views/default/widgets/a_users_groups/view.php b/mod/groups/views/default/widgets/a_users_groups/view.php index 030cbc3c9..7fe933957 100644 --- a/mod/groups/views/default/widgets/a_users_groups/view.php +++ b/mod/groups/views/default/widgets/a_users_groups/view.php @@ -13,7 +13,7 @@ $owner = $vars['entity']->owner_guid; //$groups = get_users_membership($owner); - $groups = list_entities("group", "", $owner, $number, true, false); + $groups = list_entities_from_relationship('member',$owner,false,'group','',0,$number,false); echo $groups; -- cgit v1.2.3