From 463c56db162f0b6e13a87c2499557f8dba7b9644 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Mon, 8 Feb 2010 01:06:01 +0100 Subject: Bug 544798: Using edit-multiple causes "To reassign a bug, you must provide an address for the new assignee. " r/a=mkanat --- Bugzilla/User.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Bugzilla') diff --git a/Bugzilla/User.pm b/Bugzilla/User.pm index 244bc5b94..e0c5b132f 100644 --- a/Bugzilla/User.pm +++ b/Bugzilla/User.pm @@ -1186,7 +1186,9 @@ sub match_field { } $fields = $expanded_fields; - for my $field (keys %{$fields}) { + foreach my $field (keys %{$fields}) { + next unless defined $data->{$field}; + #Concatenate login names, so that we have a common way to handle them. my $raw_field; if (ref $data->{$field}) { -- cgit v1.2.3-24-g4f1b