Skip to content

Commit

Permalink
Replace a raw query with expr() (#167)
Browse files Browse the repository at this point in the history
  • Loading branch information
lens0021 authored Sep 21, 2024
1 parent 8263374 commit cb1b7e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/HookHandlers/SpamEmail.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ static function ( $block ) {
}
return null;
},
$this->databaseBlockStore->newListFromConds( [ 'bt_user IS NOT NULL' ] )
$this->databaseBlockStore->newListFromConds( [] )
) ) );
if ( in_array( $addr, $emails ) ) {
return false;
Expand Down

0 comments on commit cb1b7e0

Please sign in to comment.