diff options
author | Olivier Blin <oblin@mandriva.com> | 2008-01-02 18:25:59 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2008-01-02 18:25:59 +0000 |
commit | 922306ae1d149c5a3778d85aa4ab6fabfdf935f3 (patch) | |
tree | 04e32d685bb6a8ebdfe343bac3d71e9fa89024c6 /perl-install/modules | |
parent | 76b5755f7c94cf728ec04e71108f9c57101826ba (diff) | |
download | drakx-922306ae1d149c5a3778d85aa4ab6fabfdf935f3.tar drakx-922306ae1d149c5a3778d85aa4ab6fabfdf935f3.tar.gz drakx-922306ae1d149c5a3778d85aa4ab6fabfdf935f3.tar.bz2 drakx-922306ae1d149c5a3778d85aa4ab6fabfdf935f3.tar.xz drakx-922306ae1d149c5a3778d85aa4ab6fabfdf935f3.zip |
allow to set zero values in module options (#26515, backport from trunk)
Diffstat (limited to 'perl-install/modules')
-rw-r--r-- | perl-install/modules/interactive.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/modules/interactive.pm b/perl-install/modules/interactive.pm index df462e0f9..ca2a90f42 100644 --- a/perl-install/modules/interactive.pm +++ b/perl-install/modules/interactive.pm @@ -20,7 +20,7 @@ sub config_window { return; } if ($in->ask_from(N("Module configuration"), N("You can configure each parameter of the module here."), \@l)) { - my $options = join(' ', map { if_($conf{$_}, "$_=$conf{$_}") } keys %conf); + my $options = join(' ', map { if_(defined $conf{$_}, "$_=$conf{$_}") } keys %conf); if ($options) { $modules_conf->set_options($data->{driver}, $options); $modules_conf->write; |