From 64dbc1f626d0a788a21d7f7895ed1448c2677a0d Mon Sep 17 00:00:00 2001 From: "terry%mozilla.org" <> Date: Wed, 15 Dec 1999 07:54:30 +0000 Subject: Force selection of a valid product when doing a mass reassign-to-component-owner. --- process_bug.cgi | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'process_bug.cgi') diff --git a/process_bug.cgi b/process_bug.cgi index 761783a92..63e1147fa 100755 --- a/process_bug.cgi +++ b/process_bug.cgi @@ -249,6 +249,11 @@ SWITCH: for ($::FORM{'knob'}) { last SWITCH; }; /^reassignbycomponent$/ && do { + if ($::FORM{'product'} eq $::dontchange) { + print "You must specify a product to help determine the new\n"; + print "owner of these bugs.\n"; + exit 0 + } if ($::FORM{'component'} eq $::dontchange) { print "You must specify a component whose owner should get\n"; print "assigned these bugs.\n"; -- cgit v1.2.3-24-g4f1b