diff options
author | mkanat%bugzilla.org <> | 2009-01-22 05:08:35 +0100 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2009-01-22 05:08:35 +0100 |
commit | c7b2b76566b8258c676967537986e996c17c3d8d (patch) | |
tree | ead1d770b601720c2aac9bdfc3133cd56071d694 /process_bug.cgi | |
parent | fdfe948ab5eea11a0ce98b84044308a6f95adfa0 (diff) | |
download | bugzilla-c7b2b76566b8258c676967537986e996c17c3d8d.tar.gz bugzilla-c7b2b76566b8258c676967537986e996c17c3d8d.tar.xz |
Bug 472872: Add a field where people can put the URLs to Bugzilla bugs (from any Bugzilla installation)
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=dkl, a=mkanat
Diffstat (limited to 'process_bug.cgi')
-rwxr-xr-x | process_bug.cgi | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/process_bug.cgi b/process_bug.cgi index c64594bd9..a0aadc1c5 100755 --- a/process_bug.cgi +++ b/process_bug.cgi @@ -336,6 +336,14 @@ foreach my $b (@bug_objects) { $b->reset_assigned_to if $cgi->param('set_default_assignee'); $b->reset_qa_contact if $cgi->param('set_default_qa_contact'); + if (should_set('see_also')) { + my @see_also = split(',', $cgi->param('see_also')); + $b->add_see_also($_) foreach @see_also; + } + if (should_set('remove_see_also')) { + $b->remove_see_also($_) foreach $cgi->param('remove_see_also') + } + # And set custom fields. foreach my $field (@custom_fields) { my $fname = $field->name; |