diff options
author | Jerome Bakker <jeabakker@coldtrick.com> | 2013-05-30 11:25:40 +0200 |
---|---|---|
committer | Jerome Bakker <jeabakker@coldtrick.com> | 2013-05-30 11:25:40 +0200 |
commit | e984b7ed8d148bdda11381f9814434f7bb45b341 (patch) | |
tree | 90ef0737a24861adf7cf1bf213ea7513802346e2 /engine/lib/group.php | |
parent | 371e64beb9d47e0b64ce74d83a8587a73908f7d5 (diff) | |
download | elgg-e984b7ed8d148bdda11381f9814434f7bb45b341.tar.gz elgg-e984b7ed8d148bdda11381f9814434f7bb45b341.tar.bz2 |
fixed: only returning groups in get_user_membership (as documented)
Diffstat (limited to 'engine/lib/group.php')
-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, |