diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-09-24 18:04:26 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-09-24 18:04:26 +0000 |
commit | 46a37b59fd2f9b3e7b7b3a6829569c1caae3e077 (patch) | |
tree | cb48d5febf1a0e1996cda2c3bd2601ce6c60de35 | |
parent | 505daac23bf884e33dedd0155ebdc82e898c5b13 (diff) | |
download | elgg-46a37b59fd2f9b3e7b7b3a6829569c1caae3e077.tar.gz elgg-46a37b59fd2f9b3e7b7b3a6829569c1caae3e077.tar.bz2 |
Refs #2437: Merged [6707] to trunk.
git-svn-id: http://code.elgg.org/elgg/trunk@6960 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r-- | engine/lib/group.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engine/lib/group.php b/engine/lib/group.php index d103026bf..8fe5de3f8 100644 --- a/engine/lib/group.php +++ b/engine/lib/group.php @@ -163,6 +163,8 @@ function remove_object_from_group($group_guid, $object_guid) { * @param unknown_type $count Whether to return the entities or a count of them. */ function get_objects_in_group($group_guid, $subtype = "", $owner_guid = 0, $site_guid = 0, $order_by = "", $limit = 10, $offset = 0, $count = FALSE) { + global $CONFIG; + if ($subtype === FALSE || $subtype === null || $subtype === 0) { return FALSE; } |