diff options
Diffstat (limited to 'perl-install/interactive.pm')
-rw-r--r-- | perl-install/interactive.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/interactive.pm b/perl-install/interactive.pm index 8cef5ed7e..46abd8628 100644 --- a/perl-install/interactive.pm +++ b/perl-install/interactive.pm @@ -228,8 +228,7 @@ sub ask_from_entries_ref($$$$;$%) { { val => $_ } } else { if (@{$_->{list} || []} > 1) { - add2hash_($_, { not_edit => 1 }); - add2hash_($_, { type => 'list' }); + add2hash_($_, { not_edit => 1, type => 'list' }); ${$_->{val}} = $_->{list}[0] if $_->{not_edit} && !member(${$_->{val}}, @{$_->{list}}); } $_; |