Commit 31c2e0de authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 189635: editcomponents.cgi should use user-matching for the default assignee…

Bug 189635: editcomponents.cgi should use user-matching for the default assignee and QA contact - Patch by GavinS <bugzilla@chimpychompy.org> r=LpSolit a=justdave
parent c00698f5
......@@ -286,6 +286,13 @@ if ($action eq 'new') {
{'name' => $component});
}
# Do the user matching
Bugzilla::User::match_field ($cgi, {
'initialowner' => { 'type' => 'single' },
'initialqacontact' => { 'type' => 'single' },
});
my $initialowner = trim($cgi->param('initialowner') || '');
if ($initialowner eq '') {
......@@ -533,6 +540,13 @@ if ($action eq 'edit') {
if ($action eq 'update') {
# Do the user matching
Bugzilla::User::match_field ($cgi, {
'initialowner' => { 'type' => 'single' },
'initialqacontact' => { 'type' => 'single' },
});
my $componentold = trim($cgi->param('componentold') || '');
my $description = trim($cgi->param('description') || '');
my $descriptionold = trim($cgi->param('descriptionold') || '');
......
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