From 2aced1a3a3a2a21f67eb89e4b841da13642fa1e8 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 14 Oct 2003 10:39:39 +0000 Subject: simplify advanced settings detection in expert mode --- perl-install/interactive/gtk.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/interactive') diff --git a/perl-install/interactive/gtk.pm b/perl-install/interactive/gtk.pm index 1dfb62060..f79ee081b 100644 --- a/perl-install/interactive/gtk.pm +++ b/perl-install/interactive/gtk.pm @@ -653,7 +653,7 @@ sub ask_fromW { my $message = $common->{interactive_help}->() or return; $o->ask_warn(N("Help"), $message); }, 1 ]); - if ($::expert && any { $_->{advanced} } @$l2) { + if ($::expert && @$l2) { $common->{advanced_state} = 1; $advanced_button->[0] = $common->{advanced_label_close}; } -- cgit v1.2.1