]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 412943: When email_in.pl calls process_bug.cgi in Bugzilla 3.0, no qa_contact...
authorlpsolit%gmail.com <>
Mon, 4 Feb 2008 03:50:25 +0000 (03:50 +0000)
committerlpsolit%gmail.com <>
Mon, 4 Feb 2008 03:50:25 +0000 (03:50 +0000)
email_in.pl

index 6f66105738a6e82a18c3883dd0cfea06558907e7..b0895bda9b5949d9841e9c48b461ced63609a5af 100644 (file)
@@ -91,6 +91,7 @@ use constant REQUIRED_PROCESS_FIELDS => qw(
     short_desc
     reporter_accessible
     cclist_accessible
+    qa_contact
 );
 
 # $input_email is a global so that it can be used in die_handler.
@@ -236,6 +237,7 @@ sub process_bug {
 
     foreach my $field (REQUIRED_PROCESS_FIELDS) {
         my $value = $bug->$field;
+        $value = $value->login if ($field eq 'qa_contact' && $value);
         if (ref $value) {
             $value = join(',', @$value);
         }