diff --git a/scripts/ZoneMinder/lib/ZoneMinder/Filter.pm b/scripts/ZoneMinder/lib/ZoneMinder/Filter.pm index e6c5b7fc2..cb0f9d986 100644 --- a/scripts/ZoneMinder/lib/ZoneMinder/Filter.pm +++ b/scripts/ZoneMinder/lib/ZoneMinder/Filter.pm @@ -145,9 +145,9 @@ sub Execute { my $sql = $self->Sql(); - if ( $self->{HasDiskPercent} ) + if ( $self->{HasDiskPercent} ) { - my $disk_percent = getDiskPercent( $$self{Storage} ? $$self{Storage}->Path() : () ) + my $disk_percent = getDiskPercent( $$self{Storage} ? $$self{Storage}->Path() : () ); $sql =~ s/zmDiskPercent/$disk_percent/g; } if ( $self->{HasDiskBlocks} )