]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 544798: Using edit-multiple causes "To reassign a bug, you must provide an addres...
authorFrédéric Buclin <LpSolit@gmail.com>
Mon, 8 Feb 2010 00:08:02 +0000 (01:08 +0100)
committerFrédéric Buclin <LpSolit@gmail.com>
Mon, 8 Feb 2010 00:08:02 +0000 (01:08 +0100)
r/a=mkanat

Bugzilla/User.pm

index 244bc5b9415beccfc57ece345c8ca585f80584e4..e0c5b132f9b0ff275aa1635bbc972a4a8388ec22 100644 (file)
@@ -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}) {