From 46a37b59fd2f9b3e7b7b3a6829569c1caae3e077 Mon Sep 17 00:00:00 2001 From: brettp Date: Fri, 24 Sep 2010 18:04:26 +0000 Subject: Refs #2437: Merged [6707] to trunk. git-svn-id: http://code.elgg.org/elgg/trunk@6960 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/group.php | 2 ++ 1 file changed, 2 insertions(+) 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; } -- cgit v1.2.3