Changeset 395


Ignore:
Timestamp:
Jun 12, 2004, 5:36:20 PM (18 years ago)
Author:
kake
Message:

Bugfix - config values of '0' were being ignored.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Build.PL

    r394 r395  
    154154    my $type = $qset->{type} || "";
    155155    my $var = $qset->{variable};
    156     my $def = $existing_config{$var} || $qset->{default};
     156    my $def = defined $existing_config{$var} ? $existing_config{$var}
     157                                             : $qset->{default};
    157158    my $val = $def;
    158159
Note: See TracChangeset for help on using the changeset viewer.