Skip to content

Commit

Permalink
Update require-login.php
Browse files Browse the repository at this point in the history
phpcs
  • Loading branch information
pkevan authored Oct 11, 2024
1 parent e764f1c commit 11e2487
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions public_html/wp-content/plugins/camptix/addons/require-login.php
Original file line number Diff line number Diff line change
Expand Up @@ -772,15 +772,15 @@ public function replace_unknown_attendee_info_stubs( $ticket_info ) {
public function hide_unconfirmed_attendees( $query_args ) {
$meta_query = array(
array(
'key' => 'tix_username',
'value' => self::UNCONFIRMED_USERNAME,
'compare' => '!=',
),
'relation' => 'OR',
array(
'key' => 'tix_username',
'compare' => 'NOT EXISTS',
)
'key' => 'tix_username',
'value' => self::UNCONFIRMED_USERNAME,
'compare' => '!=',
),
'relation' => 'OR',
array(
'key' => 'tix_username',
'compare' => 'NOT EXISTS',
)
);

if ( isset( $query_args['meta_query'] ) ) {
Expand Down

0 comments on commit 11e2487

Please sign in to comment.