From: terry%mozilla.org <> Date: Wed, 15 Dec 1999 07:54:30 +0000 (+0000) Subject: Force selection of a valid product when doing a mass X-Git-Tag: bugzilla-2.12~497 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64dbc1f626d0a788a21d7f7895ed1448c2677a0d;p=thirdparty%2Fbugzilla.git Force selection of a valid product when doing a mass reassign-to-component-owner. --- diff --git a/process_bug.cgi b/process_bug.cgi index 761783a922..63e1147fa9 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";