Skip to content

Commit

Permalink
Fix bug introduced in recent commit
Browse files Browse the repository at this point in the history
  • Loading branch information
campbell-m committed Aug 13, 2023
1 parent d84929f commit 0da4701
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/mrbs_auth.inc
Original file line number Diff line number Diff line change
Expand Up @@ -495,5 +495,5 @@ function can_see_email_addresses() : bool
}

// Otherwise the email field in the users table must not be private
return (($auth['type'] != 'db') || !$is_private_field['users.email']);
return (($auth['type'] != 'db') || empty($is_private_field['users.email']));
}

0 comments on commit 0da4701

Please sign in to comment.