Skip to content

Commit

Permalink
Adjust to fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul authored and Paul committed Apr 1, 2020
1 parent 86f8aa1 commit 4a61696
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/Maldet.pm
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ sub parse_report {
sub enabled {
my $config = Config::Tiny->new;
$config = Config::Tiny->read( $LMD_CONF );
return $config->{_}->{scan_user_access} || 0;;
return "$config->{_}->{scan_user_access}" || '0';
}

1;

0 comments on commit 4a61696

Please sign in to comment.