Skip to content

Commit

Permalink
Avoid notices when building private member list.
Browse files Browse the repository at this point in the history
  • Loading branch information
boonebgorges committed Nov 15, 2024
1 parent 9249a19 commit b2ac241
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/private-group-membership.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit b2ac241

Please sign in to comment.