summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps_gtk.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install_steps_gtk.pm')
-rw-r--r--perl-install/install_steps_gtk.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_steps_gtk.pm b/perl-install/install_steps_gtk.pm
index fd853f1b4..df1e21843 100644
--- a/perl-install/install_steps_gtk.pm
+++ b/perl-install/install_steps_gtk.pm
@@ -372,7 +372,7 @@ sub choosePackagesTree {
}
},
grep_allowed_to_toggle => sub {
- grep { $_ ne N("Other") && !pkgs::packageByName($packages, $_)->flag_base } @_;
+ grep { my $p = pkgs::packageByName($packages, $_); $p && !$->flag_base } @_;
},
grep_unselected => sub {
grep { !pkgs::packageByName($packages, $_)->flag_selected } @_;