Commit ba6df3b2 authored by Dave Lawrence's avatar Dave Lawrence

Bug 706443 - The New Bug form ignores the defaultplatform and defaultopsys parameters

r/a=LpSolit
parent 672397b3
......@@ -277,12 +277,13 @@ if ($cloned_bug_id) {
} # end of cloned bug entry form
else {
$default{'component_'} = formvalue('component');
$default{'priority'} = formvalue('priority', Bugzilla->params->{'defaultpriority'});
$default{'bug_severity'} = formvalue('bug_severity', Bugzilla->params->{'defaultseverity'});
$default{'rep_platform'} = detect_platform();
$default{'op_sys'} = detect_op_sys();
$default{'rep_platform'} = formvalue('rep_platform',
Bugzilla->params->{'defaultplatform'} || detect_platform());
$default{'op_sys'} = formvalue('op_sys',
Bugzilla->params->{'defaultopsys'} || detect_op_sys());
$vars->{'alias'} = formvalue('alias');
$vars->{'short_desc'} = formvalue('short_desc');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment