summaryrefslogtreecommitdiffstats
path: root/enter_bug.cgi
diff options
context:
space:
mode:
authormkanat%kerio.com <>2005-10-12 07:13:06 +0200
committermkanat%kerio.com <>2005-10-12 07:13:06 +0200
commit429de3bad99ca5506bec6d31d999fc08c5e57f43 (patch)
tree4488bff0f1ae710c298ee99d6b07dc72515ee912 /enter_bug.cgi
parentb02a866fd95bf2fa9b162ca41b0a97382ad32906 (diff)
downloadbugzilla-429de3bad99ca5506bec6d31d999fc08c5e57f43.tar.gz
bugzilla-429de3bad99ca5506bec6d31d999fc08c5e57f43.tar.xz
Bug 282090: Eliminate %classdesc in favor of Bugzilla::Classification methods
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=wicked, a=justdave
Diffstat (limited to 'enter_bug.cgi')
-rwxr-xr-xenter_bug.cgi6
1 files changed, 2 insertions, 4 deletions
diff --git a/enter_bug.cgi b/enter_bug.cgi
index 7c248ac72..1540209fe 100755
--- a/enter_bug.cgi
+++ b/enter_bug.cgi
@@ -56,7 +56,6 @@ use vars qw(
%versions
%target_milestone
$proddesc
- $classdesc
);
# If we're using bug groups to restrict bug entry, we need to know who the
@@ -75,9 +74,9 @@ if (!defined $product || $product eq "") {
Bugzilla->login();
if ( ! Param('useclassification') ) {
- # just pick the default one
+ # Just use a fake value for the Classification.
$cgi->param(-name => 'classification',
- -value => (keys %::classdesc)[0]);
+ -value => '__all');
}
if (!$cgi->param('classification')) {
@@ -142,7 +141,6 @@ if (!defined $product || $product eq "") {
}
$vars->{'proddesc'} = \%products;
$vars->{'classifications'} = \%classifications;
- $vars->{'classdesc'} = \%::classdesc;
$vars->{'target'} = "enter_bug.cgi";
$vars->{'format'} = $cgi->param('format');