summaryrefslogtreecommitdiffstats
path: root/enter_bug.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'enter_bug.cgi')
-rwxr-xr-xenter_bug.cgi4
1 files changed, 4 insertions, 0 deletions
diff --git a/enter_bug.cgi b/enter_bug.cgi
index ef0314bca..f028187fd 100755
--- a/enter_bug.cgi
+++ b/enter_bug.cgi
@@ -389,6 +389,10 @@ foreach my $field (@enter_bug_fields) {
$vars->{$field->name} = formvalue($field->name);
}
+# This allows the Field visibility and value controls to work with the
+# Product field as a parent.
+$default{'product'} = $product->name;
+
if ($cloned_bug_id) {
$default{'component_'} = $cloned_bug->component;