Skip to content

Commit

Permalink
Remove redundant check
Browse files Browse the repository at this point in the history
  • Loading branch information
delawski committed Jul 22, 2024
1 parent d6d707e commit 9d47e25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/class-log.php
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ public function is_record_excluded( $connector, $context, $action, $user = null,
$exclude_rules = array_filter(
$exclude,
function ( $value ) {
return ! is_null( $value ) && '' !== $value;
return ! is_null( $value );
}
);

Expand Down

0 comments on commit 9d47e25

Please sign in to comment.