]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Force selection of a valid product when doing a mass
authorterry%mozilla.org <>
Wed, 15 Dec 1999 07:54:30 +0000 (07:54 +0000)
committerterry%mozilla.org <>
Wed, 15 Dec 1999 07:54:30 +0000 (07:54 +0000)
reassign-to-component-owner.

process_bug.cgi

index 761783a9223f8501f75decfa89034265fd346b3e..63e1147fa9a0db8607abfca6f70f85bf4fb3b5dc 100755 (executable)
@@ -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";