From 7fe534514efe8beaa25368e1bb723e7d1c26fedb Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Wed, 2 Jan 2008 10:02:15 +0000 Subject: harddrake: allow to set zero values in module options (#26515) --- perl-install/modules/interactive.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/modules') 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; -- cgit v1.2.1