Skip to content

Commit 4a61696

Browse files
PaulPaul
Paul
authored and
Paul
committedApr 1, 2020
Adjust to fix type
1 parent 86f8aa1 commit 4a61696

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/lib/Maldet.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ sub parse_report {
298298
sub enabled {
299299
my $config = Config::Tiny->new;
300300
$config = Config::Tiny->read( $LMD_CONF );
301-
return $config->{_}->{scan_user_access} || 0;;
301+
return "$config->{_}->{scan_user_access}" || '0';
302302
}
303303

304304
1;

0 commit comments

Comments
 (0)