summaryrefslogtreecommitdiffstats
path: root/enter_bug.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'enter_bug.cgi')
-rwxr-xr-xenter_bug.cgi6
1 files changed, 6 insertions, 0 deletions
diff --git a/enter_bug.cgi b/enter_bug.cgi
index 4a3155e42..f0c86b9ee 100755
--- a/enter_bug.cgi
+++ b/enter_bug.cgi
@@ -297,6 +297,9 @@ if ($cloned_bug_id) {
# BMO Bug 1019747
$vars->{'cloned_bug'} = $cloned_bug;
+ # BMO Allow mentors to be cloned as well
+ $vars->{'bug_mentors'} = join(', ', map { $_->login } @{ $cloned_bug->mentors });
+
} # end of cloned bug entry form
else {
@@ -324,6 +327,9 @@ else {
$vars->{'comment'} = formvalue('comment');
$vars->{'comment_is_private'} = formvalue('comment_is_private');
+ # BMO Add support for mentors
+ $vars->{'bug_mentors'} = formvalue('bug_mentors');
+
} # end of normal/bookmarked entry form