summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xenter_bug.cgi3
1 files changed, 2 insertions, 1 deletions
diff --git a/enter_bug.cgi b/enter_bug.cgi
index 55547b15c..c0d8f59ee 100755
--- a/enter_bug.cgi
+++ b/enter_bug.cgi
@@ -247,7 +247,8 @@ $default{'product'} = $product->name;
if ($cloned_bug_id) {
- $default{'component_'} = $cloned_bug->component;
+ # BMO: allow form value component to override the cloned bug component
+ $default{'component_'} = formvalue('component') || $cloned_bug->component;
$default{'priority'} = $cloned_bug->priority;
$default{'bug_severity'} = $cloned_bug->bug_severity;
$default{'rep_platform'} = $cloned_bug->rep_platform;