diff options
author | lpsolit%gmail.com <> | 2006-03-16 05:51:34 +0000 |
---|---|---|
committer | lpsolit%gmail.com <> | 2006-03-16 05:51:34 +0000 |
commit | 311eb45dbd343068dce41bb44dd8db9f8108cf7e (patch) | |
tree | 34c2f43c62b24714389d1ef5a3fa79175cbc593b /post_bug.cgi | |
parent | Bug 330519: Remove unused IsInClassification() function from globals.pl - Pat... (diff) | |
download | bugzilla-311eb45dbd343068dce41bb44dd8db9f8108cf7e.tar.gz bugzilla-311eb45dbd343068dce41bb44dd8db9f8108cf7e.tar.bz2 bugzilla-311eb45dbd343068dce41bb44dd8db9f8108cf7e.zip |
Bug 330521: Remove @::legal_product, @::legal_components and @::legal_target_milestone - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=justdave
Diffstat (limited to 'post_bug.cgi')
-rwxr-xr-x | post_bug.cgi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/post_bug.cgi b/post_bug.cgi index de8063543..dd699e668 100755 --- a/post_bug.cgi +++ b/post_bug.cgi @@ -44,7 +44,6 @@ sub sillyness { $zz = @::legal_opsys; $zz = @::legal_platform; $zz = @::legal_priority; - $zz = @::legal_product; $zz = @::legal_severity; $zz = %::target_milestone; } @@ -219,7 +218,8 @@ if (!Param('letsubmitterchoosepriority')) { GetVersionTable(); # Some more sanity checking -check_field('product', scalar $cgi->param('product'), \@::legal_product); +check_field('product', scalar $cgi->param('product'), + [map($_->name, Bugzilla::Product::get_all_products())]); check_field('rep_platform', scalar $cgi->param('rep_platform'), \@::legal_platform); check_field('bug_severity', scalar $cgi->param('bug_severity'), \@::legal_severity); check_field('priority', scalar $cgi->param('priority'), \@::legal_priority); |