summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/NEWS2
-rw-r--r--perl-install/modules/interactive.pm2
2 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index e72d4c214..e767967c7 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,5 @@
+- harddrake:
+ o allow to set zero values in module options (#26515)
- handle atl2 ethernet driver
Version 10.6 - 11 December 2007, by Thierry Vignaud
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;