diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-03-01 17:25:36 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-03-01 17:25:36 +0000 |
commit | f2582ad1ea032aed6588591829bfe482c7e56208 (patch) | |
tree | 1370747413832efb39d1b0e9106ec264dfa975fe /perl-install/interactive.pm | |
parent | af3493bb9c8a58c0d5fdad8510d2ceba5263c199 (diff) | |
download | drakx-backup-do-not-use-f2582ad1ea032aed6588591829bfe482c7e56208.tar drakx-backup-do-not-use-f2582ad1ea032aed6588591829bfe482c7e56208.tar.gz drakx-backup-do-not-use-f2582ad1ea032aed6588591829bfe482c7e56208.tar.bz2 drakx-backup-do-not-use-f2582ad1ea032aed6588591829bfe482c7e56208.tar.xz drakx-backup-do-not-use-f2582ad1ea032aed6588591829bfe482c7e56208.zip |
(ask_from_entries_refH_powered_normalize): fix option sort=>0
Diffstat (limited to 'perl-install/interactive.pm')
-rw-r--r-- | perl-install/interactive.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/interactive.pm b/perl-install/interactive.pm index 7121689f0..dcd8cc1e3 100644 --- a/perl-install/interactive.pm +++ b/perl-install/interactive.pm @@ -212,7 +212,7 @@ sub ask_from_entries_refH_powered_normalize { foreach my $e (@$l) { if (my $l = $e->{list}) { - if ($e->{sort} || @$l > 10 && !$e->{sort}) { + if ($e->{sort} || @$l > 10 && !exists $e->{sort}) { my @l2 = map { may_apply($e->{format}, $_) } @$l; my @places = sort { $l2[$a] cmp $l2[$b] } 0 .. $#l2; $e->{list} = $l = [ map { $l->[$_] } @places ]; |