aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2006-11-27 13:26:47 +0000
committerThierry Vignaud <tv@mandriva.org>2006-11-27 13:26:47 +0000
commitdb9402eae9c20a380e1aa0ce84c2f4cd6ba487de (patch)
treeffdbd1dd96ced77fc888aafec4bf29193055390a
parente495dce14dcb2f501964750806dd1200a3613c08 (diff)
downloadrpmdrake-db9402eae9c20a380e1aa0ce84c2f4cd6ba487de.tar
rpmdrake-db9402eae9c20a380e1aa0ce84c2f4cd6ba487de.tar.gz
rpmdrake-db9402eae9c20a380e1aa0ce84c2f4cd6ba487de.tar.bz2
rpmdrake-db9402eae9c20a380e1aa0ce84c2f4cd6ba487de.tar.xz
rpmdrake-db9402eae9c20a380e1aa0ce84c2f4cd6ba487de.zip
(run_treeview_dialog) fix crash introduced by #27268 fix
-rwxr-xr-xrpmdrake2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdrake b/rpmdrake
index 5e6ca919..43743c38 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -781,7 +781,7 @@ sub run_treeview_dialog {
all_updates => sub {
my %pkgs = grep { my $p = $h->{installable}{$_}; $p->{pkg} && !$p->{selected} && $p->{pkg}->flag_installed && $p->{pkg}->flag_upgrade } keys %{$h->{installable}};
$pkgs = {
- (map { $_ => $pkgs->{$_} } keys %{$h->{updates}}),
+ (map { $_ => $h->{updates}->{$_} } keys %{$h->{updates}}),
(map { $_ => $h->{installable}{$_} } keys %pkgs)
};
},