summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2010-02-08 01:06:01 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2010-02-08 01:06:01 +0100
commit463c56db162f0b6e13a87c2499557f8dba7b9644 (patch)
treee8b6420f7a393496a3f9ae6a9d76ded367dc11ef
parentc0f18c9d3dba1535c6fc943a92837ad4c453f8d2 (diff)
downloadbugzilla-463c56db162f0b6e13a87c2499557f8dba7b9644.tar.gz
bugzilla-463c56db162f0b6e13a87c2499557f8dba7b9644.tar.xz
Bug 544798: Using edit-multiple causes "To reassign a bug, you must provide an address for the new assignee. "
r/a=mkanat
-rw-r--r--Bugzilla/User.pm4
1 files changed, 3 insertions, 1 deletions
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}) {