From 886176cce4eb1693d8430701d576ac9116c943e7 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Thu, 8 Nov 2012 14:14:59 -0800 Subject: [PATCH 1/1] changes is a hash of arrayrefs; properly handle it when merge fails --- Debbugs/Control.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Debbugs/Control.pm b/Debbugs/Control.pm index 237bcd6..74653b0 100644 --- a/Debbugs/Control.pm +++ b/Debbugs/Control.pm @@ -2168,7 +2168,7 @@ sub set_merged { $locks--; } __end_control(%info); - for my $change (values %{$changes}, @{$disallowed_changes}) { + for my $change ((map {@{$_}} values %{$changes}), @{$disallowed_changes}) { print {$transcript} "$change->{field} of #$change->{bug} is '$change->{text_orig_value}' not '$change->{text_value}'\n"; } die "Unable to modify bugs so they could be merged"; -- 2.39.2