summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/interactive.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/interactive.pm b/perl-install/interactive.pm
index b6c93b8e7..931ad9e30 100644
--- a/perl-install/interactive.pm
+++ b/perl-install/interactive.pm
@@ -262,6 +262,8 @@ sub ask_from_normalize {
} elsif ($e->{type} eq 'label' || !ref($e->{val})) {
$e->{type} = 'label';
$e->{val} = \ (my $v = $e->{val}) if !ref($e->{val});
+ } else {
+ $e->{type} ||= 'entry';
}
$e->{disabled} ||= sub { 0 };
}