From: Frédéric Buclin Date: Mon, 8 Feb 2010 00:06:01 +0000 (+0100) Subject: Bug 544798: Using edit-multiple causes "To reassign a bug, you must provide an addres... X-Git-Tag: bugzilla-3.7.1~279 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=463c56db162f0b6e13a87c2499557f8dba7b9644;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}) {