Another Perl 5.12 issue

This commit is contained in:
Tom Eastep 2010-11-18 20:12:13 -08:00
parent 63e5f6aff9
commit 407b92829f

View File

@ -2074,7 +2074,7 @@ sub default_log_level( $$ ) {
#
sub check_trivalue( $$ ) {
my ( $var, $default) = @_;
my $val = "\L$config{$var}";
my $val = lc( $config{$var} || '' );
if ( defined $val ) {
if ( $val eq 'yes' || $val eq 'on' ) {