diff options
author | Cash Costello <cash.costello@gmail.com> | 2013-05-30 04:32:41 -0700 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2013-05-30 04:32:41 -0700 |
commit | bf73ef92f79d4ab245f74ff5f7ed065caa2d5ffe (patch) | |
tree | 1b8456dca97c5e1270e5d9055346a5f8b75fd74f | |
parent | 28c43f6c615fba77d81f59e73ef29ba9d58049ea (diff) | |
parent | e984b7ed8d148bdda11381f9814434f7bb45b341 (diff) | |
download | elgg-bf73ef92f79d4ab245f74ff5f7ed065caa2d5ffe.tar.gz elgg-bf73ef92f79d4ab245f74ff5f7ed065caa2d5ffe.tar.bz2 |
Merge pull request #5555 from jeabakker/groups-get-user-membership
get_user_membership could return more than groups
-rw-r--r-- | engine/lib/group.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engine/lib/group.php b/engine/lib/group.php index 359bc59c2..6ded8a825 100644 --- a/engine/lib/group.php +++ b/engine/lib/group.php @@ -240,6 +240,7 @@ function leave_group($group_guid, $user_guid) { */ function get_users_membership($user_guid) { $options = array( + 'type' => 'group', 'relationship' => 'member', 'relationship_guid' => $user_guid, 'inverse_relationship' => false, |