From: Frédéric Buclin Date: Mon, 8 Feb 2010 00:08:02 +0000 (+0100) Subject: Bug 544798: Using edit-multiple causes "To reassign a bug, you must provide an addres... X-Git-Tag: bugzilla-3.6rc1~61 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4da6626d5fdc933e2c65b1b15e614f20a6e5138c;p=thirdparty%2Fbugzilla.git Bug 544798: Using edit-multiple causes "To reassign a bug, you must provide an address for the new assignee. " r/a=mkanat --- diff --git a/Bugzilla/User.pm b/Bugzilla/User.pm index 244bc5b941..e0c5b132f9 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}) {