diff options
-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; } |