summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-02-05 12:33:52 +0000
committerFrancois Pons <fpons@mandriva.com>2003-02-05 12:33:52 +0000
commitafb42bd2efbfbc36799ce6413b69e4149ce170c7 (patch)
treeb3f5625f1d3c087ae9d283dde534f0ed121a9108
parentf2fb3cc0f980e355ba14b59e2d4cf00a3f30e4c4 (diff)
downloaddrakx-afb42bd2efbfbc36799ce6413b69e4149ce170c7.tar
drakx-afb42bd2efbfbc36799ce6413b69e4149ce170c7.tar.gz
drakx-afb42bd2efbfbc36799ce6413b69e4149ce170c7.tar.bz2
drakx-afb42bd2efbfbc36799ce6413b69e4149ce170c7.tar.xz
drakx-afb42bd2efbfbc36799ce6413b69e4149ce170c7.zip
fixed bug 1287.
-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 } @_;