diff options
-rw-r--r-- | perl-install/any.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm index 4889dff70..9c74661f4 100644 --- a/perl-install/any.pm +++ b/perl-install/any.pm @@ -787,7 +787,8 @@ sub selectLanguage { } } sort { $a->[1] cmp $b->[1] } map { [ $_, lang::lang2text($_) ] } lang::list()), { val => \$langs->{all}, type => 'bool', text => _("All"), advanced => 1 } - ]) and $lang; + ]) or return; + $lang; } sub write_passwd_user { |