diff --git a/includes/private-group-membership.php b/includes/private-group-membership.php index a597b75..a84ce1d 100644 --- a/includes/private-group-membership.php +++ b/includes/private-group-membership.php @@ -57,7 +57,7 @@ function openlab_get_private_members_of_group( $group_id, $exclude_self = true ) global $wpdb; - if ( null !== $members[ $group_id ] ) { + if ( ! empty( $members[ $group_id ] ) ) { $private_member_ids = $members[ $group_id ]; } else { $table_name = openlab_get_private_membership_table_name();