]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1584191 - Cloning a bug doesn't copy the regressed by / regressions field
authordklawren <dklawren@users.noreply.github.com>
Fri, 11 Oct 2019 13:55:13 +0000 (09:55 -0400)
committerGitHub <noreply@github.com>
Fri, 11 Oct 2019 13:55:13 +0000 (09:55 -0400)
enter_bug.cgi

index 9c58f354e634492ef6e4938f73fb7d60495bc879..64f6d152e6f61a8c60eef1e1603209776ccd4079 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'} = formvalue('regressed_by');
+  $vars->{'regressed_by'} = join(", ", @{$cloned_bug->regressed_by});
   $vars->{'deadline'}     = $cloned_bug->deadline;
   $vars->{'estimated_time'}    = $cloned_bug->estimated_time;
   $vars->{'status_whiteboard'} = $cloned_bug->status_whiteboard;