]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1543760 - When cloning a bug, the bug is added to 'Regressed by' of the new bug
authorKohei Yoshino <kohei.yoshino@gmail.com>
Thu, 11 Apr 2019 19:18:24 +0000 (15:18 -0400)
committerGitHub <noreply@github.com>
Thu, 11 Apr 2019 19:18:24 +0000 (15:18 -0400)
enter_bug.cgi

index 08eb68dfd110ade06d2b78539c0f4a6329591a9f..83a93845a089d16009590dc8e2498857677f6d74 100755 (executable)
@@ -264,7 +264,7 @@ if ($cloned_bug_id) {
   $vars->{'keywords'}     = $cloned_bug->keywords;
   $vars->{'dependson'}    = join(", ", $cloned_bug_id, @{$cloned_bug->dependson});
   $vars->{'blocked'}      = join(", ", @{$cloned_bug->blocked});
-  $vars->{'regressed_by'} = join(", ", $cloned_bug_id, @{$cloned_bug->regressed_by});
+  $vars->{'regressed_by'} = formvalue('regressed_by');
   $vars->{'deadline'}     = $cloned_bug->deadline;
   $vars->{'estimated_time'}    = $cloned_bug->estimated_time;
   $vars->{'status_whiteboard'} = $cloned_bug->status_whiteboard;