Skip to content

Commit

Permalink
Fix skip logic
Browse files Browse the repository at this point in the history
  • Loading branch information
jrouzierinverse committed Jul 23, 2024
1 parent 48f6508 commit f32feeb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/pf/cmd/display.pm
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@ sub print_results {
print join( $delimiter, @fields ) . "\n";
foreach my $row (@results) {
next
if !$row || ( defined( $row->{'mydate'} )
&& $row->{'mydate'} =~ /^00/ );
if !$row || (( defined( $row->{'mydate'} ) && $row->{'mydate'} =~ /^00/ ));
my @values = ();
foreach my $field (@fields) {
my $value = $row->{$field};
Expand Down

0 comments on commit f32feeb

Please sign in to comment.