diff options
-rw-r--r-- | mod/groups/views/default/widgets/a_users_groups/view.php | 2 |
1 files changed, 1 insertions, 1 deletions
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;
|