From c7b2b76566b8258c676967537986e996c17c3d8d Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Thu, 22 Jan 2009 04:08:35 +0000 Subject: Bug 472872: Add a field where people can put the URLs to Bugzilla bugs (from any Bugzilla installation) Patch By Max Kanat-Alexander r=dkl, a=mkanat --- process_bug.cgi | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'process_bug.cgi') 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; -- cgit v1.2.3-24-g4f1b