diff options
author | terry%mozilla.org <> | 1999-12-15 08:54:30 +0100 |
---|---|---|
committer | terry%mozilla.org <> | 1999-12-15 08:54:30 +0100 |
commit | 64dbc1f626d0a788a21d7f7895ed1448c2677a0d (patch) | |
tree | f1052ee8749e6e20fbe0316ff14c7fb14d438c82 /process_bug.cgi | |
parent | 0e1b77bfa5defc91dd29fb86ec5f53646f4abe93 (diff) | |
download | bugzilla-64dbc1f626d0a788a21d7f7895ed1448c2677a0d.tar.gz bugzilla-64dbc1f626d0a788a21d7f7895ed1448c2677a0d.tar.xz |
Force selection of a valid product when doing a mass
reassign-to-component-owner.
Diffstat (limited to 'process_bug.cgi')
-rwxr-xr-x | process_bug.cgi | 5 |
1 files changed, 5 insertions, 0 deletions
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"; |